Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",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.0013/0.0013, allocations: 180.3 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.592/1.592, allocations: 221.3 MB / 236 MB, free: 2.973 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.001099/0.001099, allocations: 95.73 kB / 287 MB, free: 260 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.2558/0.2558, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.737e-05/4.814e-05, allocations: 4 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1667, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.683/7.85, allocations: 2.787 GB / 3.289 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/7.85, allocations: 85.11 kB / 3.289 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.559/9.41, allocations: 443.4 MB / 3.722 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.004e-06/9.41, allocations: 0 / 3.722 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.041e-05/9.41, allocations: 26.31 kB / 3.722 GB, free: 63.31 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006205/9.416, allocations: 1.758 MB / 3.724 GB, free: 62.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/9.416, allocations: 7.875 kB / 3.724 GB, free: 62.39 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/9.416, allocations: 96.31 kB / 3.724 GB, free: 62.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/9.419, allocations: 325.3 kB / 3.724 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009983/9.42, allocations: 0.5623 MB / 3.725 GB, free: 61.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/9.42, allocations: 55.38 kB / 3.725 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.676e-05/9.42, allocations: 49.91 kB / 3.725 GB, free: 61.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/9.422, allocations: 0.9722 MB / 3.726 GB, free: 61.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/9.422, allocations: 3.469 kB / 3.726 GB, free: 61.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/9.422, allocations: 27.47 kB / 3.726 GB, free: 61.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/9.422, allocations: 26.03 kB / 3.726 GB, free: 61.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/9.423, allocations: 0.8022 MB / 3.727 GB, free: 61.17 MB / 0.5261 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.004573/9.428, allocations: 4.818 MB / 3.731 GB, free: 57.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/9.43, allocations: 0.6304 MB / 3.732 GB, free: 57.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/9.43, allocations: 215.1 kB / 3.732 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04208/9.472, allocations: 24.16 MB / 3.756 GB, free: 41.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/9.472, allocations: 46 kB / 3.756 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 3.426e-06/9.472, allocations: 0 / 3.756 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.003445/9.476, allocations: 1.013 MB / 3.757 GB, free: 41.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/9.476, allocations: 114.3 kB / 3.757 GB, free: 41.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/9.476, allocations: 456.3 kB / 3.757 GB, free: 40.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/9.476, allocations: 33.36 kB / 3.757 GB, free: 40.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/9.477, allocations: 334.8 kB / 3.758 GB, free: 40.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/9.477, allocations: 159.1 kB / 3.758 GB, free: 40.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/9.477, allocations: 11.56 kB / 3.758 GB, free: 40.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001151/9.477, allocations: 363.5 kB / 3.758 GB, free: 40.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/9.477, allocations: 166.8 kB / 3.758 GB, free: 40.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/9.478, allocations: 346.6 kB / 3.759 GB, free: 39.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/9.478, allocations: 206.2 kB / 3.759 GB, free: 39.72 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/9.478, allocations: 0 / 3.759 GB, free: 39.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001077/9.479, allocations: 0.6572 MB / 3.759 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005057/9.479, allocations: 2.003 MB / 3.761 GB, free: 37.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/9.48, allocations: 11.47 kB / 3.761 GB, free: 37.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/9.481, allocations: 260.2 kB / 3.762 GB, free: 37.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/9.481, allocations: 133.7 kB / 3.762 GB, free: 37.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006728/9.482, allocations: 0.7465 MB / 3.762 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007622/9.483, allocations: 119.6 kB / 3.763 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/9.483, allocations: 34.95 kB / 3.763 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/9.483, allocations: 11.81 kB / 3.763 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001334/9.484, allocations: 0.6015 MB / 3.763 GB, free: 36.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/9.484, allocations: 7.281 kB / 3.763 GB, free: 36.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008201/9.485, allocations: 179.5 kB / 3.763 GB, free: 36.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/9.486, allocations: 144 kB / 3.764 GB, free: 36.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005049/9.486, allocations: 0.6979 MB / 3.764 GB, free: 35.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/9.487, allocations: 113.4 kB / 3.764 GB, free: 35.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/9.487, allocations: 30.25 kB / 3.764 GB, free: 35.63 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001795/9.487, allocations: 147.9 kB / 3.764 GB, free: 35.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/9.487, allocations: 63.19 kB / 3.765 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/9.49, allocations: 2.978 MB / 3.767 GB, free: 34.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-05/9.49, allocations: 47.16 kB / 3.767 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/9.49, allocations: 0 / 3.767 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/9.49, allocations: 11.55 kB / 3.768 GB, free: 33.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/9.492, allocations: 1.453 MB / 3.769 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/9.492, allocations: 3.5 kB / 3.769 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/9.492, allocations: 94.09 kB / 3.769 GB, free: 33.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/9.494, allocations: 1.209 MB / 3.77 GB, free: 32.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/9.494, allocations: 14.45 kB / 3.77 GB, free: 32.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/9.495, allocations: 1.476 MB / 3.772 GB, free: 32.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/9.495, allocations: 3.625 kB / 3.772 GB, free: 32.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/9.497, allocations: 1.964 MB / 3.774 GB, free: 31.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/9.498, allocations: 327.1 kB / 3.774 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.382e-05/9.498, allocations: 11.41 kB / 3.774 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/9.498, allocations: 80.94 kB / 3.774 GB, free: 30.74 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/9.498, allocations: 54.7 kB / 3.774 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/9.498, allocations: 25.08 kB / 3.774 GB, free: 30.72 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005108/9.499, allocations: 451.6 kB / 3.774 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/9.499, allocations: 3.938 kB / 3.774 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00602/9.505, allocations: 1.419 MB / 3.776 GB, free: 30.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01101/9.516, allocations: 3.817 MB / 3.78 GB, free: 28.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002227/9.518, allocations: 1.138 MB / 3.781 GB, free: 28.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/9.518, allocations: 0 / 3.781 GB, free: 28.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007534/9.519, allocations: 0.722 MB / 3.781 GB, free: 27.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/9.521, allocations: 314.3 kB / 3.782 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006589/9.527, allocations: 2.334 MB / 3.784 GB, free: 26.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/9.528, allocations: 1.155 MB / 3.785 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001143/9.529, allocations: 0.6797 MB / 3.786 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/9.529, allocations: 400 kB / 3.786 GB, free: 25.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/9.529, allocations: 0 / 3.786 GB, free: 25.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4387/9.968, allocations: 57.88 MB / 3.843 GB, free: 74.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/9.968, allocations: 238.7 kB / 3.843 GB, free: 74.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.967/13.94, allocations: 0 / 3.843 GB, free: 74.04 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat