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.0008167/0.0008167, allocations: 95.53 kB / 15.7 MB, free: 464 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.001326/0.001326, allocations: 175.5 kB / 16.58 MB, free: 6.848 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.518/1.518, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.3408/0.3408, allocations: 43.54 MB / 314.6 MB, free: 9.027 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.0005312/0.0005313, allocations: 20 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1106, allocations: 58.85 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01425/0.1249, allocations: 12.81 MB / 455.7 MB, free: 360 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2059/0.3309, allocations: 24.6 MB / 480.3 MB, free: 28.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.3312, allocations: 4 kB / 480.3 MB, free: 28.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.3316, allocations: 74.78 kB / 480.4 MB, free: 28.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02035/0.352, allocations: 6.551 MB / 486.9 MB, free: 25.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007372/0.3527, allocations: 311.6 kB / 487.2 MB, free: 25.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003837/0.3566, allocations: 3.197 MB / 490.4 MB, free: 25.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.3566, allocations: 15.56 kB / 490.4 MB, free: 25.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.3569, allocations: 245.5 kB / 490.7 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007461/0.3644, allocations: 5.664 MB / 496.3 MB, free: 24.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.3645, allocations: 12.3 kB / 496.3 MB, free: 24.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02049/0.385, allocations: 11.08 MB / 0.4955 GB, free: 21.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3851, allocations: 49 kB / 0.4956 GB, free: 21.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.3853, allocations: 78.73 kB / 0.4957 GB, free: 21.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008502/0.3938, allocations: 4.504 MB / 0.5001 GB, free: 19.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3939, allocations: 0 / 0.5001 GB, free: 19.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3939, allocations: 1.281 kB / 0.5001 GB, free: 19.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3939, allocations: 3.938 kB / 0.5001 GB, free: 19.94 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.004371/0.3982, allocations: 1.54 MB / 0.5016 GB, free: 18.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3983, allocations: 11.06 kB / 0.5016 GB, free: 18.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.3984, allocations: 67.03 kB / 0.5016 GB, free: 18.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.3996, allocations: 191.3 kB / 0.5018 GB, free: 18.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.3999, allocations: 269.5 kB / 0.5021 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3999, allocations: 21.5 kB / 0.5021 GB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.3999, allocations: 27.25 kB / 0.5021 GB, free: 18.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.4017, allocations: 0.7645 MB / 0.5029 GB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4017, allocations: 2.312 kB / 0.5029 GB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.4017, allocations: 22.14 kB / 0.5029 GB, free: 17.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.4017, allocations: 7.875 kB / 0.5029 GB, free: 17.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.4034, allocations: 0.8153 MB / 0.5037 GB, free: 17.52 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.002433/0.4059, allocations: 2.714 MB / 0.5063 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.4069, allocations: 349.2 kB / 0.5067 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.407, allocations: 74.45 kB / 0.5068 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5158/0.9228, allocations: 142.5 MB / 0.6459 GB, free: 165.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.9239, allocations: 445.6 kB / 0.6463 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.235e-06/0.9239, allocations: 0 / 0.6463 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003181/0.9271, allocations: 1.114 MB / 0.6474 GB, free: 165 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.042e-05/0.9272, allocations: 369.9 kB / 0.6477 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.9273, allocations: 181.1 kB / 0.6479 GB, free: 164.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.9274, allocations: 35.7 kB / 0.6479 GB, free: 164.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.9275, allocations: 189.7 kB / 0.6481 GB, free: 164.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.9275, allocations: 114.3 kB / 0.6482 GB, free: 164.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.9276, allocations: 7.625 kB / 0.6482 GB, free: 164.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.9276, allocations: 334.7 kB / 0.6486 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.9278, allocations: 75.97 kB / 0.6486 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.928, allocations: 345.4 kB / 0.649 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.9282, allocations: 135 kB / 0.6491 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.9282, allocations: 2.875 kB / 0.6491 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000635/0.9288, allocations: 464.7 kB / 0.6495 GB, free: 163.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.9289, allocations: 15.33 kB / 0.6496 GB, free: 163.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.9289, allocations: 9.094 kB / 0.6496 GB, free: 163.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.9289, allocations: 15.66 kB / 0.6496 GB, free: 163.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.9301, allocations: 206.2 kB / 0.6498 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003378/0.9305, allocations: 1.19 MB / 0.6509 GB, free: 162.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.9308, allocations: 33.38 kB / 0.651 GB, free: 162.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.9308, allocations: 44.2 kB / 0.651 GB, free: 162.3 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.0001407/0.931, allocations: 161.2 kB / 0.6512 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.931, allocations: 28.25 kB / 0.6512 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.9336, allocations: 2.874 MB / 0.654 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/0.9336, allocations: 27.34 kB / 0.654 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.9336, allocations: 7.125 kB / 0.654 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.9336, allocations: 6.219 kB / 0.654 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009429/0.9346, allocations: 0.972 MB / 0.655 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.9346, allocations: 3.469 kB / 0.655 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004834/0.9351, allocations: 94.72 kB / 0.6551 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002763/0.9354, allocations: 164.5 kB / 0.6552 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.9354, allocations: 9.625 kB / 0.6552 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002949/0.9357, allocations: 0.6482 MB / 0.6559 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9357, allocations: 3.156 kB / 0.6559 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.9368, allocations: 0.9713 MB / 0.6568 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.937, allocations: 349.5 kB / 0.6572 GB, free: 160.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.914e-05/0.9371, allocations: 10.56 kB / 0.6572 GB, free: 160.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.9374, allocations: 25.16 kB / 0.6572 GB, free: 160.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.9374, allocations: 26.86 kB / 0.6572 GB, free: 160.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.9374, allocations: 19.81 kB / 0.6572 GB, free: 160.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004378/0.9379, allocations: 470.4 kB / 0.6577 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9379, allocations: 0 / 0.6577 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007503/0.9454, allocations: 1.616 MB / 0.6593 GB, free: 160 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.01157/0.957, allocations: 3.12 MB / 0.6623 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.9584, allocations: 0.5266 MB / 0.6628 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.9584, allocations: 3.094 kB / 0.6628 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.9588, allocations: 360 kB / 0.6632 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007495/0.9595, allocations: 131.6 kB / 0.6633 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8893/1.849, allocations: 349.5 MB / 1.005 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/1.849, allocations: 0.9815 MB / 1.006 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007752/1.85, allocations: 0.5094 MB / 1.006 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/1.85, allocations: 318 kB / 1.006 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/1.85, allocations: 0 / 1.006 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1335/1.984, allocations: 66.91 MB / 1.072 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/1.984, allocations: 238.5 kB / 1.072 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.916/7.9, allocations: 4 kB / 1.072 GB, free: 123.6 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