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.001164/0.001164, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.561/1.561, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009183/0.0009181, allocations: 93.38 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3991/0.3991, allocations: 44.23 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003575, allocations: 11.98 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5041, allocations: 61.9 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.735/8.239, allocations: 2.787 GB / 3.297 GB, free: 66.69 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/8.239, allocations: 95.91 kB / 3.297 GB, free: 66.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.764/10, allocations: 444.6 MB / 3.731 GB, free: 38.08 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.758e-06/10, allocations: 0 / 3.731 GB, free: 38.08 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001167/10, allocations: 19.94 kB / 3.731 GB, free: 38.06 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.009361/10.01, allocations: 1.834 MB / 3.733 GB, free: 36.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.88e-05/10.01, allocations: 8.031 kB / 3.733 GB, free: 36.33 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004837/10.01, allocations: 97.95 kB / 3.733 GB, free: 36.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003153/10.02, allocations: 337.2 kB / 3.733 GB, free: 35.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/10.02, allocations: 0.5736 MB / 3.734 GB, free: 35.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.882e-05/10.02, allocations: 45.31 kB / 3.734 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/10.02, allocations: 56 kB / 3.734 GB, free: 35.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/10.02, allocations: 0.9984 MB / 3.735 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/10.02, allocations: 4 kB / 3.735 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/10.02, allocations: 27.98 kB / 3.735 GB, free: 34.49 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/10.02, allocations: 32.59 kB / 3.735 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/10.02, allocations: 0.9014 MB / 3.736 GB, free: 33.74 MB / 0.5261 GB 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.005492/10.03, allocations: 4.804 MB / 3.741 GB, free: 28.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/10.03, allocations: 0.6919 MB / 3.741 GB, free: 27.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03868/10.07, allocations: 24.09 MB / 3.765 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/10.07, allocations: 34.56 kB / 3.765 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/10.07, allocations: 0 / 3.765 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.005911/10.08, allocations: 1.634 MB / 3.766 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/10.08, allocations: 118.7 kB / 3.767 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007209/10.08, allocations: 466.1 kB / 3.767 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.444e-05/10.08, allocations: 29.7 kB / 3.767 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/10.08, allocations: 340 kB / 3.767 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/10.08, allocations: 145.8 kB / 3.767 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/10.08, allocations: 12 kB / 3.767 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001861/10.08, allocations: 366.8 kB / 3.768 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/10.08, allocations: 237 kB / 3.768 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/10.08, allocations: 427.2 kB / 3.768 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/10.08, allocations: 265.7 kB / 3.769 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/10.08, allocations: 4 kB / 3.769 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002013/10.08, allocations: 0.8144 MB / 3.769 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008958/10.08, allocations: 1.995 MB / 3.771 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/10.08, allocations: 8 kB / 3.771 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/10.08, allocations: 300.5 kB / 3.772 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/10.09, allocations: 139.8 kB / 3.772 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/10.09, allocations: 0.7996 MB / 3.773 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008643/10.09, allocations: 123.3 kB / 3.773 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/10.09, allocations: 27.98 kB / 3.773 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/10.09, allocations: 8 kB / 3.773 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002216/10.09, allocations: 0.7692 MB / 3.774 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/10.09, allocations: 8 kB / 3.774 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/10.09, allocations: 209.1 kB / 3.774 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/10.09, allocations: 139.8 kB / 3.774 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009441/10.09, allocations: 0.7513 MB / 3.775 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007859/10.09, allocations: 111.4 kB / 3.775 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/10.09, allocations: 31.98 kB / 3.775 GB, free: 6.277 MB / 0.5417 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 () * Number of clocked 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.0005513/10.09, allocations: 285.4 kB / 3.775 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/10.09, allocations: 59.34 kB / 3.775 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/10.1, allocations: 3.011 MB / 3.778 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.219e-05/10.1, allocations: 43.94 kB / 3.778 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/10.1, allocations: 3.953 kB / 3.778 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/10.1, allocations: 3.984 kB / 3.778 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/10.1, allocations: 1.449 MB / 3.779 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/10.1, allocations: 0 / 3.779 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/10.1, allocations: 91.88 kB / 3.78 GB, free: 1.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002195/10.1, allocations: 1.054 MB / 3.781 GB, free: 212 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/10.1, allocations: 15.98 kB / 3.781 GB, free: 196 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3979/10.5, allocations: 1.437 MB / 3.782 GB, free: 72.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/10.5, allocations: 0.9375 kB / 3.782 GB, free: 72.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/10.5, allocations: 2.023 MB / 3.784 GB, free: 71.87 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/10.5, allocations: 327.8 kB / 3.784 GB, free: 71.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.88e-05/10.5, allocations: 16.16 kB / 3.784 GB, free: 71.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000523/10.5, allocations: 84.84 kB / 3.784 GB, free: 71.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/10.5, allocations: 49.97 kB / 3.784 GB, free: 71.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/10.5, allocations: 18.22 kB / 3.784 GB, free: 71.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005692/10.51, allocations: 472 kB / 3.785 GB, free: 71.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.21e-07/10.51, allocations: 0 / 3.785 GB, free: 71.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006756/10.51, allocations: 1.425 MB / 3.786 GB, free: 71.59 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: 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 () * Number of clocked 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.0129/10.53, allocations: 3.963 MB / 3.79 GB, free: 70.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002993/10.53, allocations: 1.328 MB / 3.791 GB, free: 70.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/10.53, allocations: 0 / 3.791 GB, free: 70.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/10.53, allocations: 0.7964 MB / 3.792 GB, free: 70.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/10.53, allocations: 320 kB / 3.793 GB, free: 70.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/10.54, allocations: 7.204 MB / 3.8 GB, free: 65.75 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008137/10.54, allocations: 1.157 MB / 3.801 GB, free: 65.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001325/10.54, allocations: 0.6472 MB / 3.801 GB, free: 65.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005524/10.54, allocations: 411.8 kB / 3.802 GB, free: 65.03 MB / 0.5417 GB Notification: Performance of SimCode: time 1.763e-06/10.54, allocations: 3.75 kB / 3.802 GB, free: 65.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/10.65, allocations: 54.31 MB / 3.855 GB, free: 63.58 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/10.65, allocations: 272.8 kB / 3.855 GB, free: 63.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.973/14.63, allocations: 1.031 kB / 3.855 GB, free: 63.23 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