Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 87.86 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2369/0.2369, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.307e-05/4.31e-05, allocations: 4.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1671, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.822/6.989, allocations: 2.77 GB / 3.272 GB, free: 96.29 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/6.99, allocations: 88.55 kB / 3.272 GB, free: 96.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.064/10.05, allocations: 0.8276 GB / 4.099 GB, free: 51.27 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.874e-06/10.05, allocations: 0 / 4.099 GB, free: 51.27 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001055/10.05, allocations: 42.42 kB / 4.099 GB, free: 51.26 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01197/10.07, allocations: 2.595 MB / 4.102 GB, free: 49.94 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.687e-05/10.07, allocations: 11.84 kB / 4.102 GB, free: 49.94 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005355/10.07, allocations: 189.1 kB / 4.102 GB, free: 49.89 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003804/10.07, allocations: 463.9 kB / 4.103 GB, free: 49.81 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/10.07, allocations: 0.9886 MB / 4.104 GB, free: 49.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.331e-05/10.07, allocations: 112.8 kB / 4.104 GB, free: 49.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/10.07, allocations: 122.5 kB / 4.104 GB, free: 49.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004122/10.08, allocations: 1.951 MB / 4.106 GB, free: 49.08 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/10.08, allocations: 7.625 kB / 4.106 GB, free: 49.08 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/10.08, allocations: 59.59 kB / 4.106 GB, free: 49.08 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-05/10.08, allocations: 54.91 kB / 4.106 GB, free: 49.07 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003428/10.08, allocations: 1.591 MB / 4.107 GB, free: 49.03 MB / 0.5417 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.009823/10.09, allocations: 9.443 MB / 4.117 GB, free: 42.64 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/10.09, allocations: 1.065 MB / 4.118 GB, free: 42.6 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/10.09, allocations: 414.9 kB / 4.118 GB, free: 42.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/10.11, allocations: 8.185 MB / 4.126 GB, free: 37.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/10.11, allocations: 43.59 kB / 4.126 GB, free: 37.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=91): time 2.485e-06/10.11, allocations: 0 / 4.126 GB, free: 37.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91): time 0.006271/10.12, allocations: 1.959 MB / 4.128 GB, free: 37.38 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/10.12, allocations: 118.7 kB / 4.128 GB, free: 37.26 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/10.12, allocations: 0.7447 MB / 4.129 GB, free: 36.92 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.762e-05/10.12, allocations: 45.08 kB / 4.129 GB, free: 36.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/10.12, allocations: 0.6414 MB / 4.129 GB, free: 36.37 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/10.12, allocations: 308.1 kB / 4.13 GB, free: 36.14 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/10.12, allocations: 21.78 kB / 4.13 GB, free: 36.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/10.12, allocations: 347.8 kB / 4.13 GB, free: 35.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/10.12, allocations: 334.5 kB / 4.13 GB, free: 35.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/10.12, allocations: 0.7006 MB / 4.131 GB, free: 35.07 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005814/10.12, allocations: 419.7 kB / 4.132 GB, free: 34.92 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/10.12, allocations: 3.312 kB / 4.132 GB, free: 34.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002887/10.12, allocations: 1.486 MB / 4.133 GB, free: 34.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001105/10.12, allocations: 4.608 MB / 4.138 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.401e-05/10.12, allocations: 12.94 kB / 4.138 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/10.13, allocations: 0.5104 MB / 4.138 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/10.13, allocations: 223.6 kB / 4.138 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/10.13, allocations: 2.718 MB / 4.141 GB, free: 26.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/10.13, allocations: 237 kB / 4.141 GB, free: 26.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/10.13, allocations: 86.66 kB / 4.141 GB, free: 26.83 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/10.13, allocations: 2.875 kB / 4.141 GB, free: 26.83 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003466/10.14, allocations: 1.335 MB / 4.142 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/10.14, allocations: 11.78 kB / 4.143 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002393/10.14, allocations: 483.5 kB / 4.143 GB, free: 26.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/10.14, allocations: 243.5 kB / 4.143 GB, free: 26.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/10.14, allocations: 2.599 MB / 4.146 GB, free: 23.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/10.14, allocations: 218.4 kB / 4.146 GB, free: 23.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/10.14, allocations: 68.95 kB / 4.146 GB, free: 23.81 MB / 0.5417 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 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,2 8,2 8,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005164/10.14, allocations: 188 kB / 4.146 GB, free: 23.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/10.14, allocations: 115.2 kB / 4.146 GB, free: 23.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004745/10.15, allocations: 3.883 MB / 4.15 GB, free: 21.72 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-05/10.15, allocations: 38.3 kB / 4.15 GB, free: 21.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/10.15, allocations: 2.281 kB / 4.15 GB, free: 21.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/10.15, allocations: 3.797 kB / 4.15 GB, free: 21.71 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007296/10.16, allocations: 6.091 MB / 4.156 GB, free: 18.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/10.16, allocations: 0 / 4.156 GB, free: 18.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/10.16, allocations: 123.8 kB / 4.156 GB, free: 18.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002585/10.16, allocations: 1.445 MB / 4.158 GB, free: 18.22 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/10.16, allocations: 23.5 kB / 4.158 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002808/10.16, allocations: 3.721 MB / 4.161 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/10.16, allocations: 0 / 4.161 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/10.17, allocations: 2.734 MB / 4.164 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008307/10.17, allocations: 408.1 kB / 4.164 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/10.17, allocations: 20.86 kB / 4.164 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/10.17, allocations: 192.2 kB / 4.165 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/10.17, allocations: 86.2 kB / 4.165 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/10.17, allocations: 36.64 kB / 4.165 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008628/10.17, allocations: 0.6594 MB / 4.165 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.41e-07/10.17, allocations: 0 / 4.165 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008076/10.18, allocations: 1.946 MB / 4.167 GB, free: 13.03 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 10,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01285/10.19, allocations: 4.657 MB / 4.172 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00602/10.2, allocations: 2.015 MB / 4.174 GB, free: 7.613 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/10.2, allocations: 0 / 4.174 GB, free: 7.613 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/10.2, allocations: 0.9096 MB / 4.175 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/10.2, allocations: 0.5868 MB / 4.175 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008007/10.21, allocations: 3.086 MB / 4.178 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007456/10.21, allocations: 1.405 MB / 4.18 GB, free: 2.367 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001859/10.21, allocations: 0.9603 MB / 4.18 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005397/10.21, allocations: 0.6058 MB / 4.181 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of SimCode: time 8.82e-07/10.21, allocations: 0 / 4.181 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6894/10.9, allocations: 84.31 MB / 4.263 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/10.9, allocations: 247.1 kB / 4.264 GB, free: 49.33 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.332/16.23, allocations: 0 / 4.264 GB, free: 49.33 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat