Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_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.0009327/0.000933, allocations: 95.22 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000999/0.000999, allocations: 181.3 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2304/0.2304, allocations: 44.24 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 8 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 61.92 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01494/0.1546, allocations: 11.77 MB / 483.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03045/0.185, allocations: 22.42 MB / 0.4939 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.1855, allocations: 4 kB / 0.4939 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.186, allocations: 75.64 kB / 0.494 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02443/0.2104, allocations: 6.725 MB / 0.5005 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2115, allocations: 311 kB / 0.5008 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005642/0.2172, allocations: 3.045 MB / 0.5038 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.215e-05/0.2173, allocations: 16.41 kB / 0.5038 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005818/0.2179, allocations: 282.9 kB / 0.5041 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2964/0.5143, allocations: 5.563 MB / 0.5095 GB, free: 16.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.952e-05/0.5144, allocations: 7.625 kB / 0.5095 GB, free: 16.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02382/0.5382, allocations: 11.46 MB / 0.5207 GB, free: 16.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.5384, allocations: 44.7 kB / 0.5207 GB, free: 16.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.5385, allocations: 71.89 kB / 0.5208 GB, free: 16.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.5493, allocations: 4.505 MB / 0.5252 GB, free: 15.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5493, allocations: 2.438 kB / 0.5252 GB, free: 15.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.5493, allocations: 0 / 0.5252 GB, free: 15.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.5494, allocations: 5.641 kB / 0.5252 GB, free: 15.58 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.005238/0.5546, allocations: 1.545 MB / 0.5267 GB, free: 14.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.5547, allocations: 10.53 kB / 0.5267 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/0.5547, allocations: 74.56 kB / 0.5268 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.5562, allocations: 186.7 kB / 0.527 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.5565, allocations: 268.9 kB / 0.5272 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.5565, allocations: 22.59 kB / 0.5273 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.5566, allocations: 30 kB / 0.5273 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.5585, allocations: 0.7501 MB / 0.528 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.5585, allocations: 4.953 kB / 0.528 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.5586, allocations: 13.53 kB / 0.5281 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.5586, allocations: 8.469 kB / 0.5281 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.5604, allocations: 0.816 MB / 0.5289 GB, free: 13.68 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.002846/0.5633, allocations: 2.721 MB / 0.5315 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.5644, allocations: 346.2 kB / 0.5318 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3619/0.9263, allocations: 142.3 MB / 0.6708 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/0.9277, allocations: 439.9 kB / 0.6713 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 2.524e-06/0.9278, allocations: 0 / 0.6713 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.003809/0.9316, allocations: 1.12 MB / 0.6723 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.9317, allocations: 366.9 kB / 0.6727 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.9319, allocations: 193.7 kB / 0.6729 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.932, allocations: 38.5 kB / 0.6729 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.9321, allocations: 184 kB / 0.6731 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.515e-05/0.9322, allocations: 114.5 kB / 0.6732 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.9322, allocations: 5.375 kB / 0.6732 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9323, allocations: 326.3 kB / 0.6735 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.9325, allocations: 82.94 kB / 0.6736 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.9328, allocations: 339.3 kB / 0.6739 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.933, allocations: 132.9 kB / 0.674 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.933, allocations: 4 kB / 0.674 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007291/0.9338, allocations: 471.9 kB / 0.6745 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.9338, allocations: 12 kB / 0.6745 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.9338, allocations: 8 kB / 0.6745 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.9339, allocations: 15.95 kB / 0.6745 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.9354, allocations: 210.3 kB / 0.6747 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006379/0.936, allocations: 1.186 MB / 0.6759 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.9364, allocations: 33.08 kB / 0.6759 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.9364, allocations: 43.31 kB / 0.676 GB, free: 1.094 MB / 0.5137 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.0001939/0.9366, allocations: 170.5 kB / 0.6761 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.9367, allocations: 24.98 kB / 0.6762 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/0.9395, allocations: 2.871 MB / 0.679 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/0.9396, allocations: 29.81 kB / 0.679 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.9396, allocations: 10.19 kB / 0.679 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.9396, allocations: 0 / 0.679 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.9406, allocations: 0.9698 MB / 0.6799 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.9406, allocations: 7.953 kB / 0.6799 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/0.9412, allocations: 97.7 kB / 0.68 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002468/0.9414, allocations: 167.3 kB / 0.6802 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.9415, allocations: 13.25 kB / 0.6802 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000406/0.9419, allocations: 0.6415 MB / 0.6808 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9419, allocations: 4 kB / 0.6808 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.9431, allocations: 1.11 MB / 0.6819 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.9435, allocations: 352.4 kB / 0.6823 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.9436, allocations: 10.75 kB / 0.6823 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.944, allocations: 25.58 kB / 0.6823 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.944, allocations: 31.67 kB / 0.6823 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.9441, allocations: 19.12 kB / 0.6823 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005406/0.9446, allocations: 462.8 kB / 0.6828 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9446, allocations: 0 / 0.6828 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005695/0.9503, allocations: 1.622 MB / 0.6844 GB, free: 10.16 MB / 0.5294 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.01216/0.9625, allocations: 4.083 MB / 0.6884 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.9643, allocations: 0.5361 MB / 0.6889 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.9643, allocations: 4 kB / 0.6889 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004744/0.9648, allocations: 359.7 kB / 0.6892 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.9655, allocations: 127.7 kB / 0.6894 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.9774, allocations: 10.62 MB / 0.6997 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.978, allocations: 1.002 MB / 0.7007 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008577/0.9788, allocations: 0.5091 MB / 0.7012 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/0.9792, allocations: 312.4 kB / 0.7015 GB, free: 9.977 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.9792, allocations: 0 / 0.7015 GB, free: 9.977 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3677/1.347, allocations: 66.94 MB / 0.7669 GB, free: 172.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/1.347, allocations: 237.2 kB / 0.7671 GB, free: 172.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.208/7.555, allocations: 4 kB / 0.7671 GB, free: 172.5 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat