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.0007976/0.0007976, allocations: 96.56 kB / 17 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009135/0.0009135, allocations: 197.7 kB / 17.91 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.3 MB / 246 MB, free: 11.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2516/0.2516, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004108, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1324, allocations: 63.47 MB / 481.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01587/0.1484, allocations: 12.86 MB / 494.5 MB, free: 8.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2906/0.439, allocations: 24.6 MB / 0.5069 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002866/0.4393, allocations: 2.438 kB / 0.5069 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.4397, allocations: 75.16 kB / 0.507 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02281/0.4625, allocations: 6.578 MB / 0.5134 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009285/0.4635, allocations: 300.5 kB / 0.5137 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006011/0.4695, allocations: 3.198 MB / 0.5169 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.471e-05/0.4696, allocations: 27.77 kB / 0.5169 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005512/0.4702, allocations: 258.5 kB / 0.5171 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009104/0.4793, allocations: 5.673 MB / 0.5227 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.082e-05/0.4794, allocations: 8.062 kB / 0.5227 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01996/0.4993, allocations: 10.38 MB / 0.5328 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.4995, allocations: 48.52 kB / 0.5329 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.4997, allocations: 74.45 kB / 0.5329 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007361/0.5071, allocations: 4.229 MB / 0.5371 GB, free: 5.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5071, allocations: 0 / 0.5371 GB, free: 5.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5071, allocations: 0 / 0.5371 GB, free: 5.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.5071, allocations: 0 / 0.5371 GB, free: 5.258 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.003872/0.511, allocations: 1.503 MB / 0.5385 GB, free: 3.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5111, allocations: 8.031 kB / 0.5385 GB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.959e-05/0.5111, allocations: 71.41 kB / 0.5386 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.5127, allocations: 217.9 kB / 0.5388 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.5129, allocations: 274.9 kB / 0.5391 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.513, allocations: 27.28 kB / 0.5391 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.513, allocations: 32.64 kB / 0.5391 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.515, allocations: 0.827 MB / 0.5399 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.515, allocations: 3.938 kB / 0.5399 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.5151, allocations: 14.44 kB / 0.54 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.5151, allocations: 11.84 kB / 0.54 GB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.5172, allocations: 0.9466 MB / 0.5409 GB, free: 1.75 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.002545/0.5198, allocations: 2.578 MB / 0.5434 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.5211, allocations: 370.7 kB / 0.5438 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.5212, allocations: 86.34 kB / 0.5438 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8554/1.377, allocations: 240.9 MB / 0.7791 GB, free: 146.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/1.378, allocations: 467.8 kB / 0.7795 GB, free: 146.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 3.627e-06/1.378, allocations: 4 kB / 0.7795 GB, free: 146.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002871/1.381, allocations: 0.7805 MB / 0.7803 GB, free: 145.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/1.381, allocations: 375.4 kB / 0.7806 GB, free: 145.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/1.381, allocations: 187.4 kB / 0.7808 GB, free: 145 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/1.381, allocations: 33.7 kB / 0.7808 GB, free: 144.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/1.382, allocations: 187.3 kB / 0.781 GB, free: 144.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/1.382, allocations: 106 kB / 0.7811 GB, free: 144.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/1.382, allocations: 8 kB / 0.7811 GB, free: 144.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.846e-05/1.382, allocations: 334.8 kB / 0.7815 GB, free: 144.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/1.382, allocations: 81.05 kB / 0.7815 GB, free: 144.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/1.382, allocations: 343.8 kB / 0.7819 GB, free: 143.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/1.382, allocations: 132.5 kB / 0.782 GB, free: 143.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/1.383, allocations: 0 / 0.782 GB, free: 143.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007442/1.383, allocations: 476.5 kB / 0.7824 GB, free: 143.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.383, allocations: 12.03 kB / 0.7825 GB, free: 143.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.383, allocations: 8 kB / 0.7825 GB, free: 143.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/1.383, allocations: 22.11 kB / 0.7825 GB, free: 143.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/1.384, allocations: 139.8 kB / 0.7826 GB, free: 143 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/1.384, allocations: 19.92 kB / 0.7826 GB, free: 143 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/1.384, allocations: 47.53 kB / 0.7827 GB, free: 143 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/1.384, allocations: 47.97 kB / 0.7827 GB, free: 142.9 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.0001791/1.385, allocations: 157.4 kB / 0.7829 GB, free: 142.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.823e-05/1.385, allocations: 31.72 kB / 0.7829 GB, free: 142.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/1.387, allocations: 2.657 MB / 0.7855 GB, free: 140.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/1.387, allocations: 15.98 kB / 0.7855 GB, free: 140 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.387, allocations: 7.953 kB / 0.7855 GB, free: 140 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.387, allocations: 11.92 kB / 0.7855 GB, free: 140 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009164/1.388, allocations: 0.926 MB / 0.7864 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.388, allocations: 4 kB / 0.7864 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/1.388, allocations: 71.88 kB / 0.7865 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-06/1.389, allocations: 4.312 kB / 0.7865 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/1.389, allocations: 15.98 kB / 0.7865 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/1.389, allocations: 8.875 kB / 0.7865 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.389, allocations: 0 / 0.7865 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/1.389, allocations: 0.7008 MB / 0.7872 GB, free: 138.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/1.39, allocations: 380.8 kB / 0.7876 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.326e-05/1.39, allocations: 11.98 kB / 0.7876 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/1.39, allocations: 20 kB / 0.7876 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/1.39, allocations: 35.84 kB / 0.7877 GB, free: 137.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/1.39, allocations: 17.88 kB / 0.7877 GB, free: 137.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004824/1.391, allocations: 0.4962 MB / 0.7882 GB, free: 137.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.391, allocations: 0 / 0.7882 GB, free: 137.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004685/1.395, allocations: 1.525 MB / 0.7896 GB, free: 135.8 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.009987/1.405, allocations: 2.872 MB / 0.7924 GB, free: 133.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008454/1.406, allocations: 408.9 kB / 0.7928 GB, free: 132.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.406, allocations: 4.812 kB / 0.7928 GB, free: 132.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/1.406, allocations: 280.7 kB / 0.7931 GB, free: 132.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008492/1.407, allocations: 132.6 kB / 0.7932 GB, free: 132.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.581/2.989, allocations: 0.6038 GB / 1.397 GB, free: 111.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/2.989, allocations: 0.9875 MB / 1.398 GB, free: 110.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007103/2.99, allocations: 0.5251 MB / 1.399 GB, free: 110.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/2.99, allocations: 323.3 kB / 1.399 GB, free: 109.8 MB / 0.545 GB Notification: Performance of SimCode: time 9.41e-07/2.99, allocations: 0 / 1.399 GB, free: 109.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08892/3.079, allocations: 64.25 MB / 1.462 GB, free: 45.72 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/3.079, allocations: 209.6 kB / 1.462 GB, free: 45.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.095/9.174, allocations: 0 / 1.462 GB, free: 45.48 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