Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.613/1.613, allocations: 227.2 MB / 245 MB, free: 7.648 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001071, allocations: 103.6 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5454/0.5454, allocations: 45.23 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003863, allocations: 8 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5817/0.5821, allocations: 63.25 MB / 0.5193 GB, free: 43.88 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.376/8.958, allocations: 3.302 GB / 3.822 GB, free: 139.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/8.958, allocations: 77.3 kB / 3.822 GB, free: 139.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1118/9.07, allocations: 52.01 MB / 3.873 GB, free: 87 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.787e-06/9.07, allocations: 8 kB / 3.873 GB, free: 86.99 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.117e-06/9.07, allocations: 0 / 3.873 GB, free: 86.99 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001358/9.072, allocations: 0.5144 MB / 3.873 GB, free: 86.43 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/9.072, allocations: 8.031 kB / 3.873 GB, free: 86.42 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.235e-05/9.072, allocations: 38.7 kB / 3.873 GB, free: 86.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/9.072, allocations: 7.859 kB / 3.873 GB, free: 86.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/9.072, allocations: 167 kB / 3.873 GB, free: 86.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/9.072, allocations: 11.98 kB / 3.873 GB, free: 86.15 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/9.072, allocations: 0 / 3.873 GB, free: 86.15 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/9.072, allocations: 73.67 kB / 3.873 GB, free: 86.07 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/9.072, allocations: 0 / 3.873 GB, free: 86.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/9.072, allocations: 0 / 3.873 GB, free: 86.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/9.072, allocations: 8 kB / 3.873 GB, free: 86.06 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/9.072, allocations: 51.91 kB / 3.873 GB, free: 86.01 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/9.073, allocations: 296.8 kB / 3.874 GB, free: 85.67 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.709e-05/9.073, allocations: 38.56 kB / 3.874 GB, free: 85.62 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/9.073, allocations: 263.3 kB / 3.874 GB, free: 85.31 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/9.073, allocations: 38.5 kB / 3.874 GB, free: 85.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/9.073, allocations: 0 / 3.874 GB, free: 85.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002435/9.074, allocations: 53.67 kB / 3.874 GB, free: 85.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/9.074, allocations: 55.41 kB / 3.874 GB, free: 85.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.824e-05/9.074, allocations: 96.98 kB / 3.874 GB, free: 85.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/9.074, allocations: 25.7 kB / 3.874 GB, free: 85.01 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/9.074, allocations: 99.89 kB / 3.874 GB, free: 84.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/9.074, allocations: 15.86 kB / 3.874 GB, free: 84.89 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/9.074, allocations: 3.938 kB / 3.874 GB, free: 84.89 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001021/9.074, allocations: 318.8 kB / 3.875 GB, free: 84.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/9.074, allocations: 8 kB / 3.875 GB, free: 84.56 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.696e-05/9.074, allocations: 35.36 kB / 3.875 GB, free: 84.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/9.074, allocations: 16 kB / 3.875 GB, free: 84.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/9.074, allocations: 4 kB / 3.875 GB, free: 84.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001165/9.074, allocations: 69.61 kB / 3.875 GB, free: 84.42 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/9.074, allocations: 4 kB / 3.875 GB, free: 84.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/9.074, allocations: 3.938 kB / 3.875 GB, free: 84.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/9.074, allocations: 7.953 kB / 3.875 GB, free: 84.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.646e-05/9.074, allocations: 15.94 kB / 3.875 GB, free: 84.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/9.074, allocations: 4.078 kB / 3.875 GB, free: 84.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/9.074, allocations: 4 kB / 3.875 GB, free: 84.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/9.074, allocations: 4 kB / 3.875 GB, free: 84.38 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.06e-05/9.075, allocations: 113.8 kB / 3.875 GB, free: 84.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/9.075, allocations: 7.906 kB / 3.875 GB, free: 84.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/9.075, allocations: 73.25 kB / 3.875 GB, free: 84.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/9.075, allocations: 3.953 kB / 3.875 GB, free: 84.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/9.075, allocations: 0 / 3.875 GB, free: 84.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/9.075, allocations: 0 / 3.875 GB, free: 84.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/9.075, allocations: 161.7 kB / 3.875 GB, free: 83.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/9.075, allocations: 4 kB / 3.875 GB, free: 83.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/9.075, allocations: 4 kB / 3.875 GB, free: 83.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/9.075, allocations: 0 / 3.875 GB, free: 83.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/9.075, allocations: 4 kB / 3.875 GB, free: 83.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/9.075, allocations: 0 / 3.875 GB, free: 83.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/9.075, allocations: 7.953 kB / 3.875 GB, free: 83.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/9.075, allocations: 147.5 kB / 3.875 GB, free: 83.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/9.075, allocations: 81.02 kB / 3.875 GB, free: 83.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/9.075, allocations: 4 kB / 3.875 GB, free: 83.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.948e-05/9.075, allocations: 3.938 kB / 3.875 GB, free: 83.67 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/9.075, allocations: 7.938 kB / 3.875 GB, free: 83.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/9.075, allocations: 3.953 kB / 3.875 GB, free: 83.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.678e-05/9.076, allocations: 87.78 kB / 3.875 GB, free: 83.57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/9.076, allocations: 4 kB / 3.875 GB, free: 83.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001058/9.077, allocations: 195.8 kB / 3.876 GB, free: 83.38 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002149/9.079, allocations: 1.309 MB / 3.877 GB, free: 82.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000124/9.079, allocations: 35.91 kB / 3.877 GB, free: 82.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/9.079, allocations: 192 / 3.877 GB, free: 82.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/9.079, allocations: 12 kB / 3.877 GB, free: 82.01 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/9.079, allocations: 12.05 kB / 3.877 GB, free: 82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/9.08, allocations: 298.2 kB / 3.877 GB, free: 81.67 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/9.08, allocations: 0.6809 MB / 3.878 GB, free: 80.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.906e-05/9.08, allocations: 15.92 kB / 3.878 GB, free: 80.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/9.081, allocations: 19.44 kB / 3.878 GB, free: 80.93 MB / 0.5417 GB Notification: Performance of SimCode: time 1.002e-06/9.081, allocations: 0 / 3.878 GB, free: 80.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/9.112, allocations: 12.63 MB / 3.89 GB, free: 68.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/9.112, allocations: 202 kB / 3.891 GB, free: 68.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/11.22, allocations: 3.938 kB / 3.891 GB, free: 68.17 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat