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.001014/0.001014, allocations: 96.98 kB / 17 MB, free: 6.355 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.001233/0.001234, allocations: 184.2 kB / 17.89 MB, free: 5.926 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.384/1.384, allocations: 223.2 MB / 241.9 MB, free: 348 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.21/0.21, allocations: 44.23 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004368, allocations: 12.69 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1343, allocations: 61.92 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01467/0.149, allocations: 12.8 MB / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02907/0.1781, allocations: 24.59 MB / 0.4971 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.1784, allocations: 4 kB / 0.4971 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.1788, allocations: 67.59 kB / 0.4972 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02058/0.1994, allocations: 6.582 MB / 0.5036 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009632/0.2003, allocations: 302.5 kB / 0.5039 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2334/0.4337, allocations: 3.197 MB / 0.507 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.007e-05/0.4338, allocations: 15.95 kB / 0.507 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.4344, allocations: 248 kB / 0.5073 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01108/0.4455, allocations: 5.667 MB / 0.5128 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.437e-05/0.4456, allocations: 8.312 kB / 0.5128 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02126/0.4669, allocations: 11.09 MB / 0.5236 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.467, allocations: 48.56 kB / 0.5237 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.4673, allocations: 75.86 kB / 0.5238 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.4789, allocations: 4.52 MB / 0.5282 GB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.4789, allocations: 0 / 0.5282 GB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.479, allocations: 0 / 0.5282 GB, free: 14.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.479, allocations: 0 / 0.5282 GB, free: 14.57 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.005797/0.4848, allocations: 1.555 MB / 0.5297 GB, free: 13.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/0.4849, allocations: 9.312 kB / 0.5297 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.774e-05/0.485, allocations: 68.22 kB / 0.5298 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.4863, allocations: 192.4 kB / 0.53 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.4866, allocations: 264.4 kB / 0.5302 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.4866, allocations: 18.47 kB / 0.5302 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.4867, allocations: 33.28 kB / 0.5303 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.4886, allocations: 0.754 MB / 0.531 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.4886, allocations: 4.297 kB / 0.531 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.4886, allocations: 15.38 kB / 0.531 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.4887, allocations: 9.875 kB / 0.531 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.4905, allocations: 0.8147 MB / 0.5318 GB, free: 12.66 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.002856/0.4934, allocations: 2.713 MB / 0.5345 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.4944, allocations: 356.6 kB / 0.5348 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.388e-05/0.4945, allocations: 67.64 kB / 0.5349 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3314/0.826, allocations: 142.3 MB / 0.6738 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/0.8273, allocations: 434.4 kB / 0.6743 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.8273, allocations: 0 / 0.6743 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.003677/0.831, allocations: 1.127 MB / 0.6754 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002243/0.8313, allocations: 371.2 kB / 0.6757 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.8315, allocations: 191.8 kB / 0.6759 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.8315, allocations: 35.45 kB / 0.6759 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.8317, allocations: 183.9 kB / 0.6761 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.8318, allocations: 115.2 kB / 0.6762 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.8318, allocations: 7.188 kB / 0.6762 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.832, allocations: 336.5 kB / 0.6765 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.8321, allocations: 75.83 kB / 0.6766 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.8326, allocations: 343.7 kB / 0.6769 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.8328, allocations: 127 kB / 0.6771 GB, free: 460 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.8328, allocations: 0 / 0.6771 GB, free: 460 kB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008401/0.8336, allocations: 477.4 kB / 0.6775 GB, free: 124 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.8337, allocations: 8 kB / 0.6775 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.8337, allocations: 11.95 kB / 0.6775 GB, free: 104 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.964e-05/0.8338, allocations: 16.75 kB / 0.6776 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.8352, allocations: 211.5 kB / 0.6778 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008017/0.836, allocations: 1.181 MB / 0.6789 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.8363, allocations: 26.92 kB / 0.6789 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/0.8364, allocations: 45.11 kB / 0.679 GB, free: 14.64 MB / 0.5294 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.0001999/0.8366, allocations: 168.1 kB / 0.6791 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.8367, allocations: 27.72 kB / 0.6792 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003481/0.8402, allocations: 2.88 MB / 0.682 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/0.8402, allocations: 21.36 kB / 0.682 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.8402, allocations: 4 kB / 0.682 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.8403, allocations: 7.984 kB / 0.682 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.8414, allocations: 0.9636 MB / 0.6829 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.8414, allocations: 0 / 0.6829 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/0.8419, allocations: 99.64 kB / 0.683 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002682/0.8422, allocations: 171.9 kB / 0.6832 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.8422, allocations: 18.11 kB / 0.6832 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004466/0.8427, allocations: 0.6323 MB / 0.6838 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.8427, allocations: 7 kB / 0.6838 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.844, allocations: 0.9621 MB / 0.6848 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/0.8443, allocations: 357.9 kB / 0.6851 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/0.8444, allocations: 11.12 kB / 0.6851 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/0.8447, allocations: 23.84 kB / 0.6852 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.8448, allocations: 35.06 kB / 0.6852 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.078e-05/0.8449, allocations: 19.77 kB / 0.6852 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006111/0.8455, allocations: 464 kB / 0.6857 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8455, allocations: 0 / 0.6857 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006554/0.8521, allocations: 1.627 MB / 0.6872 GB, free: 7.906 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.01067/0.8628, allocations: 3.126 MB / 0.6903 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.8644, allocations: 0.534 MB / 0.6908 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.8645, allocations: 0 / 0.6908 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.8649, allocations: 361.7 kB / 0.6912 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008402/0.8657, allocations: 128.6 kB / 0.6913 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9461/1.812, allocations: 349.7 MB / 1.033 GB, free: 102 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/1.812, allocations: 0.99 MB / 1.034 GB, free: 101 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007723/1.813, allocations: 0.5095 MB / 1.034 GB, free: 100.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/1.813, allocations: 311.3 kB / 1.035 GB, free: 100.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.734e-06/1.813, allocations: 0 / 1.035 GB, free: 100.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4038/2.217, allocations: 66.97 MB / 1.1 GB, free: 209.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/2.217, allocations: 245.4 kB / 1.1 GB, free: 209.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.978/8.195, allocations: 0 / 1.1 GB, free: 209.2 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