Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",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.001278/0.001278, allocations: 96.52 kB / 15.68 MB, free: 488 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.001154/0.001154, allocations: 174.8 kB / 16.56 MB, free: 6.375 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.666/1.666, allocations: 205.4 MB / 222.7 MB, free: 5.637 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.3719/0.3719, allocations: 43.54 MB / 314.5 MB, free: 8.797 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.0008003/0.0008005, allocations: 15.98 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1441, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01579/0.1599, allocations: 11.79 MB / 454.6 MB, free: 1.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2777/0.4376, allocations: 22.41 MB / 477 MB, free: 31.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003904/0.4381, allocations: 7.438 kB / 477 MB, free: 31.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.4386, allocations: 74.56 kB / 477.1 MB, free: 31.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02602/0.4646, allocations: 6.706 MB / 483.8 MB, free: 27.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009717/0.4656, allocations: 307.7 kB / 484.1 MB, free: 27.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004728/0.4704, allocations: 3.04 MB / 487.2 MB, free: 27.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.944e-05/0.4705, allocations: 23.62 kB / 487.2 MB, free: 27.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005242/0.471, allocations: 278.8 kB / 487.5 MB, free: 27.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008442/0.4794, allocations: 5.56 MB / 493 MB, free: 26.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.648e-05/0.4796, allocations: 7.5 kB / 493 MB, free: 26.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03979/0.5194, allocations: 11.45 MB / 0.4927 GB, free: 24.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.5196, allocations: 49.3 kB / 0.4927 GB, free: 24.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.5199, allocations: 75.41 kB / 0.4928 GB, free: 23.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01826/0.5382, allocations: 4.493 MB / 0.4972 GB, free: 22.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.5382, allocations: 0 / 0.4972 GB, free: 22.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.5383, allocations: 1.219 kB / 0.4972 GB, free: 22.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.5383, allocations: 0 / 0.4972 GB, free: 22.34 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.01066/0.5489, allocations: 1.544 MB / 0.4987 GB, free: 21.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.549, allocations: 8.719 kB / 0.4987 GB, free: 21.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.5492, allocations: 69.06 kB / 0.4987 GB, free: 21.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/0.552, allocations: 192.2 kB / 0.4989 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.5525, allocations: 268.2 kB / 0.4992 GB, free: 20.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.5525, allocations: 25.86 kB / 0.4992 GB, free: 20.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/0.5526, allocations: 26.78 kB / 0.4992 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/0.5558, allocations: 0.7513 MB / 0.5 GB, free: 20.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.5559, allocations: 6.969 kB / 0.5 GB, free: 20.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/0.5559, allocations: 13 kB / 0.5 GB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.556, allocations: 9.438 kB / 0.5 GB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003223/0.5592, allocations: 0.819 MB / 0.5008 GB, free: 19.92 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.004515/0.5637, allocations: 2.725 MB / 0.5035 GB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.5658, allocations: 344.5 kB / 0.5038 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7257/1.291, allocations: 142.5 MB / 0.6429 GB, free: 167.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/1.293, allocations: 439.3 kB / 0.6434 GB, free: 167 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.335e-06/1.293, allocations: 0 / 0.6434 GB, free: 167 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003621/1.296, allocations: 1.119 MB / 0.6444 GB, free: 166.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.297, allocations: 373.2 kB / 0.6448 GB, free: 166.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/1.297, allocations: 179.8 kB / 0.645 GB, free: 166.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/1.297, allocations: 34.27 kB / 0.645 GB, free: 166.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/1.297, allocations: 185.3 kB / 0.6452 GB, free: 166 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/1.297, allocations: 119.9 kB / 0.6453 GB, free: 165.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/1.297, allocations: 13.06 kB / 0.6453 GB, free: 165.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/1.297, allocations: 331.6 kB / 0.6456 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/1.297, allocations: 79.44 kB / 0.6457 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/1.298, allocations: 346.8 kB / 0.646 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/1.298, allocations: 122 kB / 0.6462 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.298, allocations: 3.938 kB / 0.6462 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006703/1.298, allocations: 466.1 kB / 0.6466 GB, free: 165.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.298, allocations: 9.656 kB / 0.6466 GB, free: 165.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.298, allocations: 13.47 kB / 0.6466 GB, free: 165.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/1.298, allocations: 16.06 kB / 0.6466 GB, free: 165.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/1.3, allocations: 208 kB / 0.6468 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004024/1.3, allocations: 1.189 MB / 0.648 GB, free: 164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/1.301, allocations: 20.16 kB / 0.648 GB, free: 164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/1.301, allocations: 44.89 kB / 0.6481 GB, free: 164 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001796/1.301, allocations: 161.9 kB / 0.6482 GB, free: 163.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/1.301, allocations: 27.91 kB / 0.6482 GB, free: 163.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/1.304, allocations: 2.88 MB / 0.6511 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/1.304, allocations: 22.2 kB / 0.6511 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.304, allocations: 3.75 kB / 0.6511 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/1.304, allocations: 10.59 kB / 0.6511 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/1.305, allocations: 0.9668 MB / 0.652 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.305, allocations: 6.438 kB / 0.652 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/1.306, allocations: 96.77 kB / 0.6521 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000254/1.306, allocations: 167.9 kB / 0.6523 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/1.306, allocations: 18.73 kB / 0.6523 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003635/1.307, allocations: 0.6459 MB / 0.6529 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.307, allocations: 10.62 kB / 0.6529 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/1.308, allocations: 1.1 MB / 0.654 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/1.308, allocations: 347.4 kB / 0.6544 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/1.308, allocations: 21.75 kB / 0.6544 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/1.308, allocations: 21.62 kB / 0.6544 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/1.309, allocations: 23.33 kB / 0.6544 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/1.309, allocations: 20.33 kB / 0.6544 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004936/1.309, allocations: 465.7 kB / 0.6549 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.309, allocations: 0 / 0.6549 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008681/1.318, allocations: 1.621 MB / 0.6565 GB, free: 161.6 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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0174/1.335, allocations: 4.09 MB / 0.6605 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001864/1.337, allocations: 0.5252 MB / 0.661 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.337, allocations: 3.031 kB / 0.661 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004741/1.338, allocations: 355.3 kB / 0.6613 GB, free: 159 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009435/1.339, allocations: 126.9 kB / 0.6614 GB, free: 159 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/1.353, allocations: 10.6 MB / 0.6718 GB, free: 150.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/1.353, allocations: 1.006 MB / 0.6728 GB, free: 149.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001199/1.355, allocations: 0.5037 MB / 0.6733 GB, free: 149.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/1.355, allocations: 310.9 kB / 0.6736 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.074e-06/1.355, allocations: 0 / 0.6736 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/1.489, allocations: 66.88 MB / 0.7389 GB, free: 96.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/1.49, allocations: 236.7 kB / 0.7391 GB, free: 96.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.34/7.83, allocations: 0 / 0.7391 GB, free: 96.57 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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_pT_res.mat does not exist to compare? outputFormat=mat