Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_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.001042/0.001042, allocations: 96.28 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.001158/0.001158, allocations: 179.6 kB / 16.57 MB, free: 6.391 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.787/1.787, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.4143/0.4143, allocations: 43.54 MB / 314.5 MB, free: 9.023 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.0008431/0.0008434, allocations: 16 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1572, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.3468/0.504, allocations: 33.12 MB / 476 MB, free: 32.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0227/0.5269, allocations: 17.21 MB / 493.2 MB, free: 20.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.5289, allocations: 21.72 kB / 493.2 MB, free: 20.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.5309, allocations: 389.4 kB / 493.6 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0171/0.548, allocations: 3.995 MB / 497.6 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008815/0.5569, allocations: 2.111 MB / 499.7 MB, free: 16.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00286/0.5597, allocations: 1.169 MB / 0.4891 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008356/0.5606, allocations: 419.5 kB / 0.4895 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01418/0.5748, allocations: 6.302 MB / 0.4957 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0172/0.592, allocations: 8.767 MB / 0.5042 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002695/0.5924, allocations: 36.12 kB / 0.5043 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01704/0.6094, allocations: 7.181 MB / 0.5113 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.6101, allocations: 227.3 kB / 0.5115 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005285/0.6106, allocations: 197.3 kB / 0.5117 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.6212, allocations: 3.465 MB / 0.5151 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6213, allocations: 4 kB / 0.5151 GB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.6213, allocations: 0 / 0.5151 GB, free: 6.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.6213, allocations: 0 / 0.5151 GB, free: 6.445 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005186/0.6265, allocations: 1.489 MB / 0.5165 GB, free: 4.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.6266, allocations: 8.031 kB / 0.5165 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.6267, allocations: 111 kB / 0.5166 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.6288, allocations: 318.7 kB / 0.5169 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009064/0.6297, allocations: 0.5471 MB / 0.5175 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.6298, allocations: 108.7 kB / 0.5176 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.354e-05/0.6299, allocations: 64.7 kB / 0.5176 GB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.632, allocations: 1.158 MB / 0.5188 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.632, allocations: 0 / 0.5188 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.6321, allocations: 39.98 kB / 0.5188 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/0.6322, allocations: 49.22 kB / 0.5189 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.6336, allocations: 0.8323 MB / 0.5197 GB, free: 1.527 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.00633/0.6399, allocations: 5.513 MB / 0.5251 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.6413, allocations: 0.5825 MB / 0.5256 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09978/0.7411, allocations: 46.61 MB / 0.5711 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.419e-05/0.7412, allocations: 42.56 kB / 0.5712 GB, free: 7.066 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 3.046e-06/0.7412, allocations: 0 / 0.5712 GB, free: 7.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.005567/0.7468, allocations: 1.943 MB / 0.5731 GB, free: 5.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.937e-05/0.7469, allocations: 166.2 kB / 0.5732 GB, free: 4.871 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008328/0.7477, allocations: 0.6132 MB / 0.5738 GB, free: 4.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.7478, allocations: 33.7 kB / 0.5739 GB, free: 4.211 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.7481, allocations: 391.2 kB / 0.5742 GB, free: 3.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.7483, allocations: 173.6 kB / 0.5744 GB, free: 3.648 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.7483, allocations: 12 kB / 0.5744 GB, free: 3.637 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.7485, allocations: 382.8 kB / 0.5748 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.7489, allocations: 225.8 kB / 0.575 GB, free: 3.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.7496, allocations: 0.5601 MB / 0.5755 GB, free: 2.305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.7501, allocations: 328.6 kB / 0.5759 GB, free: 1.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.7501, allocations: 7.938 kB / 0.5759 GB, free: 1.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001354/0.7515, allocations: 0.8592 MB / 0.5767 GB, free: 1.109 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.7515, allocations: 12 kB / 0.5767 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.7515, allocations: 12 kB / 0.5767 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/0.7519, allocations: 65.38 kB / 0.5768 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.7531, allocations: 291.5 kB / 0.5771 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.7548, allocations: 1.986 MB / 0.579 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.7554, allocations: 60.19 kB / 0.5791 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/0.7555, allocations: 40 kB / 0.5791 GB, free: 14.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004652/0.756, allocations: 273.4 kB / 0.5794 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.7561, allocations: 75.11 kB / 0.5794 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/0.7589, allocations: 2.224 MB / 0.5816 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/0.7589, allocations: 31.95 kB / 0.5816 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7589, allocations: 0 / 0.5816 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.7589, allocations: 0 / 0.5816 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004421/0.7634, allocations: 3.284 MB / 0.5848 GB, free: 8.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.7634, allocations: 0 / 0.5848 GB, free: 8.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009531/0.7643, allocations: 195.8 kB / 0.585 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/0.7648, allocations: 88.69 kB / 0.5851 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.7648, allocations: 8 kB / 0.5851 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.7665, allocations: 2.014 MB / 0.5871 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.7665, allocations: 0 / 0.5871 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.7688, allocations: 1.987 MB / 0.589 GB, free: 4.051 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005429/0.7693, allocations: 295.3 kB / 0.5893 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.384e-05/0.7694, allocations: 12 kB / 0.5893 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.77, allocations: 63.8 kB / 0.5894 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/0.7701, allocations: 32.39 kB / 0.5894 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/0.7702, allocations: 23.98 kB / 0.5894 GB, free: 3.613 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007669/0.771, allocations: 0.5029 MB / 0.5899 GB, free: 3.105 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.295e-06/0.771, allocations: 0 / 0.5899 GB, free: 3.105 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004072/0.7751, allocations: 1.089 MB / 0.591 GB, free: 2.016 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.009776/0.7848, allocations: 3.723 MB / 0.5946 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002713/0.7876, allocations: 0.9279 MB / 0.5955 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.7877, allocations: 4 kB / 0.5955 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.789, allocations: 0.6677 MB / 0.5962 GB, free: 12.67 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.7914, allocations: 362.1 kB / 0.5965 GB, free: 12.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.806, allocations: 13.18 MB / 0.6094 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009923/0.807, allocations: 1.137 MB / 0.6105 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001138/0.8082, allocations: 461.4 kB / 0.611 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.8087, allocations: 395.3 kB / 0.6113 GB, free: 12.87 MB / 494.1 MB Notification: Performance of SimCode: time 6.82e-07/0.8087, allocations: 0 / 0.6113 GB, free: 12.87 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3869/1.196, allocations: 55.41 MB / 0.6654 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/1.196, allocations: 285.7 kB / 0.6657 GB, free: 140.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.795/5.991, allocations: 3.094 kB / 0.6657 GB, free: 140.3 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat