Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 97.3 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 177.4 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3933/0.3933, allocations: 43.54 MB / 314.5 MB, free: 8.801 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008018/0.000802, allocations: 16 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1689, allocations: 58.85 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01432/0.1833, allocations: 11.79 MB / 454.6 MB, free: 1.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2947/0.4781, allocations: 22.4 MB / 477 MB, free: 31.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.4785, allocations: 0 / 477 MB, free: 31.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005464/0.479, allocations: 77.75 kB / 477.1 MB, free: 31.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03025/0.5093, allocations: 6.711 MB / 483.8 MB, free: 27.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.5105, allocations: 315.3 kB / 484.1 MB, free: 27.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00506/0.5156, allocations: 3.038 MB / 487.2 MB, free: 27.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.5157, allocations: 23.38 kB / 487.2 MB, free: 27.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000595/0.5163, allocations: 276 kB / 487.5 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00986/0.5262, allocations: 5.57 MB / 493 MB, free: 26.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.845e-05/0.5263, allocations: 8.625 kB / 493.1 MB, free: 26.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03508/0.5614, allocations: 10.68 MB / 0.4919 GB, free: 24.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.5617, allocations: 50.11 kB / 0.492 GB, free: 24.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.5621, allocations: 75.8 kB / 0.492 GB, free: 24.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0174/0.5795, allocations: 4.202 MB / 0.4962 GB, free: 22.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5796, allocations: 0 / 0.4962 GB, free: 22.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.5796, allocations: 0 / 0.4962 GB, free: 22.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.5796, allocations: 0 / 0.4962 GB, free: 22.8 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.009341/0.5889, allocations: 1.495 MB / 0.4976 GB, free: 21.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.589, allocations: 14.09 kB / 0.4976 GB, free: 21.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.5891, allocations: 68.19 kB / 0.4977 GB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.591, allocations: 222 kB / 0.4979 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.5914, allocations: 278.4 kB / 0.4982 GB, free: 21.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.5915, allocations: 26.78 kB / 0.4982 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.5915, allocations: 27.06 kB / 0.4982 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.5939, allocations: 0.8321 MB / 0.499 GB, free: 20.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.5939, allocations: 3.984 kB / 0.499 GB, free: 20.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.594, allocations: 18 kB / 0.4991 GB, free: 20.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.594, allocations: 8.281 kB / 0.4991 GB, free: 20.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.5964, allocations: 0.9477 MB / 0.5 GB, free: 20.3 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.003782/0.6002, allocations: 2.589 MB / 0.5025 GB, free: 17.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.6017, allocations: 389.8 kB / 0.5029 GB, free: 17.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9421/1.544, allocations: 227.1 MB / 0.7247 GB, free: 104.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00145/1.545, allocations: 477.9 kB / 0.7251 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.504e-06/1.545, allocations: 0 / 0.7251 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.002787/1.548, allocations: 0.7751 MB / 0.7259 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.548, allocations: 382.4 kB / 0.7262 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/1.549, allocations: 184.5 kB / 0.7264 GB, free: 103 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/1.549, allocations: 28.83 kB / 0.7264 GB, free: 103 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/1.549, allocations: 190.7 kB / 0.7266 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/1.549, allocations: 107.6 kB / 0.7267 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/1.549, allocations: 13.06 kB / 0.7267 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/1.549, allocations: 329.8 kB / 0.727 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/1.549, allocations: 89.38 kB / 0.7271 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/1.549, allocations: 334.4 kB / 0.7274 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/1.55, allocations: 132.9 kB / 0.7276 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.55, allocations: 0 / 0.7276 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007897/1.55, allocations: 464.4 kB / 0.728 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/1.55, allocations: 8 kB / 0.728 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.55, allocations: 12.09 kB / 0.728 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/1.55, allocations: 18.92 kB / 0.7281 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/1.551, allocations: 143.6 kB / 0.7282 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/1.551, allocations: 15.94 kB / 0.7282 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/1.551, allocations: 54.75 kB / 0.7283 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/1.551, allocations: 48.22 kB / 0.7283 GB, free: 101.2 MB / 0.4981 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.0001999/1.552, allocations: 153.7 kB / 0.7285 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/1.552, allocations: 40.16 kB / 0.7285 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/1.554, allocations: 2.656 MB / 0.7311 GB, free: 98.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/1.554, allocations: 19.97 kB / 0.7311 GB, free: 98.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.554, allocations: 4.75 kB / 0.7311 GB, free: 98.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/1.554, allocations: 4 kB / 0.7311 GB, free: 98.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009839/1.555, allocations: 0.9284 MB / 0.732 GB, free: 97.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.555, allocations: 4 kB / 0.732 GB, free: 97.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/1.555, allocations: 71.88 kB / 0.7321 GB, free: 97.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/1.555, allocations: 9.5 kB / 0.7321 GB, free: 97.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/1.555, allocations: 15.94 kB / 0.7321 GB, free: 97.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/1.556, allocations: 12.06 kB / 0.7321 GB, free: 97.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.556, allocations: 4 kB / 0.7321 GB, free: 97.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007909/1.556, allocations: 0.8321 MB / 0.7329 GB, free: 96.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/1.557, allocations: 382.8 kB / 0.7333 GB, free: 95.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/1.557, allocations: 11.95 kB / 0.7333 GB, free: 95.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/1.557, allocations: 23.89 kB / 0.7333 GB, free: 95.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/1.557, allocations: 35.77 kB / 0.7334 GB, free: 95.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/1.557, allocations: 15.98 kB / 0.7334 GB, free: 95.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005023/1.558, allocations: 0.5001 MB / 0.7339 GB, free: 95.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.558, allocations: 0 / 0.7339 GB, free: 95.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008534/1.566, allocations: 1.522 MB / 0.7354 GB, free: 93.97 MB / 0.4981 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.01564/1.582, allocations: 3.819 MB / 0.7391 GB, free: 90.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001014/1.583, allocations: 404.6 kB / 0.7395 GB, free: 89.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.583, allocations: 8.188 kB / 0.7395 GB, free: 89.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/1.583, allocations: 280.7 kB / 0.7398 GB, free: 89.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/1.584, allocations: 132.4 kB / 0.7399 GB, free: 89.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/1.597, allocations: 10.47 MB / 0.7501 GB, free: 78.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/1.597, allocations: 1.005 MB / 0.7511 GB, free: 77.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008617/1.598, allocations: 0.5202 MB / 0.7516 GB, free: 77.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/1.599, allocations: 315.3 kB / 0.7519 GB, free: 77.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.835e-06/1.599, allocations: 0 / 0.7519 GB, free: 77.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.7, allocations: 64.07 MB / 0.8145 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/1.701, allocations: 196.3 kB / 0.8147 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.265/7.966, allocations: 0 / 0.8147 GB, free: 12.78 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat