Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 94.36 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 204.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2037/0.2037, allocations: 45.93 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 8 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1481, allocations: 63.46 MB / 481.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01515/0.1633, allocations: 11.85 MB / 493.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02638/0.1897, allocations: 22.42 MB / 0.5037 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.1901, allocations: 4 kB / 0.5037 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.1905, allocations: 79.58 kB / 0.5038 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2927/0.4832, allocations: 6.714 MB / 0.5103 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009929/0.4842, allocations: 310.8 kB / 0.5106 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006315/0.4905, allocations: 3.041 MB / 0.5136 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.618e-05/0.4906, allocations: 20.83 kB / 0.5136 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005732/0.4912, allocations: 282 kB / 0.5139 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/0.5014, allocations: 5.572 MB / 0.5193 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.182e-05/0.5015, allocations: 8.562 kB / 0.5193 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02599/0.5275, allocations: 10.72 MB / 0.5298 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.5277, allocations: 41.83 kB / 0.5299 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003024/0.528, allocations: 77.73 kB / 0.5299 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.5392, allocations: 4.227 MB / 0.5341 GB, free: 8.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.5392, allocations: 0 / 0.5341 GB, free: 8.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5393, allocations: 0 / 0.5341 GB, free: 8.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.5393, allocations: 0 / 0.5341 GB, free: 8.484 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.004966/0.5442, allocations: 1.495 MB / 0.5355 GB, free: 7.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5443, allocations: 8.031 kB / 0.5355 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.593e-05/0.5444, allocations: 75.34 kB / 0.5356 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.546, allocations: 222.8 kB / 0.5358 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.5463, allocations: 272.8 kB / 0.5361 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.5463, allocations: 27.69 kB / 0.5361 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.5464, allocations: 30.44 kB / 0.5361 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.5485, allocations: 0.8241 MB / 0.5369 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5485, allocations: 10.77 kB / 0.5369 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.5486, allocations: 13.38 kB / 0.5369 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.5486, allocations: 12 kB / 0.537 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.5507, allocations: 0.9421 MB / 0.5379 GB, free: 5.004 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.5534, allocations: 2.577 MB / 0.5404 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.5548, allocations: 377.5 kB / 0.5408 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8963/1.451, allocations: 240.9 MB / 0.776 GB, free: 149.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002821/1.454, allocations: 480.6 kB / 0.7765 GB, free: 149.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 5.48e-06/1.454, allocations: 1.531 kB / 0.7765 GB, free: 149.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.006075/1.46, allocations: 0.7743 MB / 0.7772 GB, free: 148.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.46, allocations: 376 kB / 0.7776 GB, free: 148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/1.461, allocations: 183 kB / 0.7778 GB, free: 147.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.565e-05/1.461, allocations: 33.7 kB / 0.7778 GB, free: 147.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/1.461, allocations: 189.4 kB / 0.778 GB, free: 147.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/1.461, allocations: 109 kB / 0.7781 GB, free: 147.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/1.461, allocations: 8 kB / 0.7781 GB, free: 147.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.383e-05/1.461, allocations: 337.4 kB / 0.7784 GB, free: 147.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/1.461, allocations: 81.06 kB / 0.7785 GB, free: 147.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/1.462, allocations: 336.7 kB / 0.7788 GB, free: 146.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/1.462, allocations: 131.9 kB / 0.7789 GB, free: 146.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/1.463, allocations: 4 kB / 0.7789 GB, free: 146.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001523/1.464, allocations: 476 kB / 0.7794 GB, free: 146.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/1.464, allocations: 12 kB / 0.7794 GB, free: 146.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/1.464, allocations: 8 kB / 0.7794 GB, free: 146 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.086e-05/1.464, allocations: 15.95 kB / 0.7794 GB, free: 146 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/1.465, allocations: 147.7 kB / 0.7796 GB, free: 145.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.556e-05/1.465, allocations: 15.94 kB / 0.7796 GB, free: 145.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006375/1.466, allocations: 44.8 kB / 0.7796 GB, free: 145.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.466, allocations: 50.16 kB / 0.7797 GB, free: 145.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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 0.0002718/1.466, allocations: 162.6 kB / 0.7798 GB, free: 145.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/1.466, allocations: 33.11 kB / 0.7799 GB, free: 145.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004345/1.471, allocations: 2.653 MB / 0.7824 GB, free: 142.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-05/1.471, allocations: 20.53 kB / 0.7825 GB, free: 142.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/1.471, allocations: 7.953 kB / 0.7825 GB, free: 142.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.471, allocations: 4 kB / 0.7825 GB, free: 142.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/1.472, allocations: 0.9255 MB / 0.7834 GB, free: 141.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.472, allocations: 4 kB / 0.7834 GB, free: 141.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/1.473, allocations: 78.12 kB / 0.7835 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/1.473, allocations: 9.031 kB / 0.7835 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/1.473, allocations: 13.95 kB / 0.7835 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/1.473, allocations: 7.938 kB / 0.7835 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/1.473, allocations: 4 kB / 0.7835 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/1.474, allocations: 0.8361 MB / 0.7843 GB, free: 140.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005204/1.475, allocations: 376.7 kB / 0.7847 GB, free: 140.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/1.475, allocations: 8 kB / 0.7847 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006119/1.476, allocations: 27.92 kB / 0.7847 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/1.476, allocations: 39.84 kB / 0.7847 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/1.476, allocations: 12 kB / 0.7848 GB, free: 140.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007684/1.476, allocations: 0.4998 MB / 0.7852 GB, free: 139.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/1.476, allocations: 0 / 0.7852 GB, free: 139.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006781/1.483, allocations: 1.526 MB / 0.7867 GB, free: 138.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01122/1.495, allocations: 3.848 MB / 0.7905 GB, free: 134.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008253/1.495, allocations: 408.2 kB / 0.7909 GB, free: 134.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.495, allocations: 0 / 0.7909 GB, free: 134.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002795/1.496, allocations: 276.7 kB / 0.7911 GB, free: 134.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007275/1.496, allocations: 125.3 kB / 0.7913 GB, free: 133.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009513/1.506, allocations: 10.48 MB / 0.8015 GB, free: 123.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/1.506, allocations: 1.009 MB / 0.8025 GB, free: 122.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007227/1.507, allocations: 0.5181 MB / 0.803 GB, free: 121.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/1.507, allocations: 323.2 kB / 0.8033 GB, free: 121.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/1.507, allocations: 0 / 0.8033 GB, free: 121.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09742/1.605, allocations: 64.22 MB / 0.866 GB, free: 57.48 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/1.605, allocations: 217.4 kB / 0.8662 GB, free: 57.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.153/7.758, allocations: 4 kB / 0.8662 GB, free: 57.23 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat