Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 181.9 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.2 MB / 218.9 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 86.77 kB / 267 MB, free: 9.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4387/0.4387, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/3.966e-05, allocations: 4 kB / 425.4 MB, free: 8.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1632, allocations: 58.83 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.581/7.744, allocations: 2.794 GB / 3.267 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/7.745, allocations: 93.08 kB / 3.267 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.371/10.12, allocations: 0.4911 GB / 3.758 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.304e-06/10.12, allocations: 2.906 kB / 3.758 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000103/10.12, allocations: 19.28 kB / 3.758 GB, free: 49.43 MB / 0.5105 GB 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.00876/10.12, allocations: 1.696 MB / 3.76 GB, free: 48.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/10.12, allocations: 9.281 kB / 3.76 GB, free: 48.76 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004026/10.12, allocations: 110.4 kB / 3.76 GB, free: 48.72 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/10.13, allocations: 237.3 kB / 3.76 GB, free: 48.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/10.13, allocations: 0.576 MB / 3.761 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/10.13, allocations: 104.6 kB / 3.761 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/10.13, allocations: 61.3 kB / 3.761 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/10.13, allocations: 1.089 MB / 3.762 GB, free: 48.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.49e-05/10.13, allocations: 7 kB / 3.762 GB, free: 48.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/10.13, allocations: 31.23 kB / 3.762 GB, free: 48.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.251e-05/10.13, allocations: 45.22 kB / 3.762 GB, free: 48.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/10.13, allocations: 0.8257 MB / 3.763 GB, free: 48.05 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.007967/10.14, allocations: 5.555 MB / 3.768 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/10.14, allocations: 0.5558 MB / 3.769 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/10.14, allocations: 207.1 kB / 3.769 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09935/10.24, allocations: 47.34 MB / 3.815 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.687e-05/10.24, allocations: 42.25 kB / 3.815 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 3.998e-06/10.24, allocations: 0 / 3.815 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.007126/10.25, allocations: 2.015 MB / 3.817 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/10.25, allocations: 190.5 kB / 3.817 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009547/10.25, allocations: 0.5506 MB / 3.818 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.679e-05/10.25, allocations: 36.61 kB / 3.818 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/10.25, allocations: 397.9 kB / 3.818 GB, free: 30.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/10.25, allocations: 163.8 kB / 3.818 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/10.25, allocations: 12.5 kB / 3.818 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002026/10.25, allocations: 383.8 kB / 3.819 GB, free: 29.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/10.25, allocations: 217.2 kB / 3.819 GB, free: 29.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/10.25, allocations: 0.5814 MB / 3.82 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/10.25, allocations: 337.1 kB / 3.82 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/10.25, allocations: 3.375 kB / 3.82 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001461/10.26, allocations: 0.8762 MB / 3.821 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/10.26, allocations: 15.27 kB / 3.821 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/10.26, allocations: 12.5 kB / 3.821 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003773/10.26, allocations: 276.8 kB / 3.821 GB, free: 29.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/10.26, allocations: 280.1 kB / 3.821 GB, free: 29.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/10.26, allocations: 2.021 MB / 3.823 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009475/10.26, allocations: 51.48 kB / 3.823 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/10.26, allocations: 54.25 kB / 3.823 GB, free: 27.22 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002743/10.26, allocations: 157.6 kB / 3.823 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/10.26, allocations: 74.48 kB / 3.824 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/10.27, allocations: 2.016 MB / 3.826 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/10.27, allocations: 19.83 kB / 3.826 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/10.27, allocations: 3.094 kB / 3.826 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/10.27, allocations: 3.797 kB / 3.826 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/10.27, allocations: 2.993 MB / 3.828 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/10.27, allocations: 0 / 3.828 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000885/10.27, allocations: 185.4 kB / 3.829 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/10.27, allocations: 298.3 kB / 3.829 GB, free: 26.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/10.27, allocations: 15.47 kB / 3.829 GB, free: 26.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/10.28, allocations: 2.074 MB / 3.831 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/10.28, allocations: 3.406 kB / 3.831 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/10.28, allocations: 1.946 MB / 3.833 GB, free: 24.06 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006713/10.28, allocations: 284 kB / 3.833 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/10.28, allocations: 12.64 kB / 3.833 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006916/10.28, allocations: 41.25 kB / 3.833 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/10.28, allocations: 36.12 kB / 3.833 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/10.28, allocations: 18.53 kB / 3.833 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000959/10.28, allocations: 0.5567 MB / 3.834 GB, free: 23.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/10.28, allocations: 0 / 3.834 GB, free: 23.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0102/10.29, allocations: 1.138 MB / 3.835 GB, free: 23.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01399/10.31, allocations: 4.092 MB / 3.839 GB, free: 22.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002308/10.31, allocations: 0.8947 MB / 3.84 GB, free: 22.28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/10.31, allocations: 0 / 3.84 GB, free: 22.28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/10.31, allocations: 0.6305 MB / 3.84 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/10.31, allocations: 370.6 kB / 3.841 GB, free: 22.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009883/10.32, allocations: 2.156 MB / 3.843 GB, free: 21.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002272/10.32, allocations: 1.126 MB / 3.844 GB, free: 36.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001118/10.32, allocations: 352.6 kB / 3.844 GB, free: 36.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005971/10.33, allocations: 372 kB / 3.845 GB, free: 36.87 MB / 0.5417 GB Notification: Performance of SimCode: time 1.583e-06/10.33, allocations: 0 / 3.845 GB, free: 36.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/10.43, allocations: 53.29 MB / 3.897 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/10.43, allocations: 237.7 kB / 3.897 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.894/14.33, allocations: 0 / 3.897 GB, free: 28.3 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat