Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.002523/0.002523, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.702/1.702, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009268/0.0009268, allocations: 88.47 kB / 267.1 MB, free: 9.27 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.3934/0.3934, allocations: 43.47 MB / 358.6 MB, free: 51.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.282e-05/4.284e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1375, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.797/7.934, allocations: 2.782 GB / 3.255 GB, free: 47.22 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/7.934, allocations: 82.89 kB / 3.255 GB, free: 47.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.671/9.606, allocations: 439.9 MB / 3.685 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.214e-06/9.606, allocations: 0 / 3.685 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.183e-05/9.606, allocations: 19.94 kB / 3.685 GB, free: 30.18 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006979/9.613, allocations: 1.769 MB / 3.686 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/9.613, allocations: 12.03 kB / 3.686 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/9.613, allocations: 103.7 kB / 3.686 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/9.616, allocations: 334.6 kB / 3.687 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/9.617, allocations: 0.5738 MB / 3.687 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/9.617, allocations: 56.52 kB / 3.687 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/9.617, allocations: 56.69 kB / 3.687 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/9.619, allocations: 0.9969 MB / 3.688 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/9.619, allocations: 3.938 kB / 3.688 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.058e-05/9.619, allocations: 28 kB / 3.688 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/9.619, allocations: 25.3 kB / 3.688 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/9.621, allocations: 0.8248 MB / 3.689 GB, free: 25.27 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.0049/9.626, allocations: 4.864 MB / 3.694 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/9.627, allocations: 0.7569 MB / 3.695 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/9.628, allocations: 230.1 kB / 3.695 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4154/10.04, allocations: 24.15 MB / 3.719 GB, free: 50.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/10.04, allocations: 37.92 kB / 3.719 GB, free: 50.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 5.1e-06/10.04, allocations: 3.312 kB / 3.719 GB, free: 50.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.004451/10.05, allocations: 1.075 MB / 3.72 GB, free: 50.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/10.05, allocations: 111.9 kB / 3.72 GB, free: 50.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008461/10.05, allocations: 460.9 kB / 3.72 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/10.05, allocations: 37.3 kB / 3.72 GB, free: 49.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/10.05, allocations: 338.7 kB / 3.721 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/10.05, allocations: 165.7 kB / 3.721 GB, free: 49.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/10.05, allocations: 13.62 kB / 3.721 GB, free: 49.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001412/10.05, allocations: 370.2 kB / 3.721 GB, free: 49.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/10.05, allocations: 188.1 kB / 3.721 GB, free: 49.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/10.05, allocations: 366.7 kB / 3.722 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/10.05, allocations: 230.5 kB / 3.722 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/10.05, allocations: 4.719 kB / 3.722 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001418/10.05, allocations: 0.7192 MB / 3.723 GB, free: 49.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004552/10.05, allocations: 2.007 MB / 3.724 GB, free: 47.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/10.05, allocations: 7.219 kB / 3.724 GB, free: 47.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/10.06, allocations: 441.9 kB / 3.725 GB, free: 47.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/10.06, allocations: 150.5 kB / 3.725 GB, free: 47.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000988/10.06, allocations: 0.8001 MB / 3.726 GB, free: 46.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008707/10.06, allocations: 131 kB / 3.726 GB, free: 46.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/10.06, allocations: 35.73 kB / 3.726 GB, free: 46.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/10.06, allocations: 9.906 kB / 3.726 GB, free: 46.47 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001258/10.06, allocations: 0.6525 MB / 3.727 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/10.06, allocations: 9.125 kB / 3.727 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008514/10.06, allocations: 187.1 kB / 3.727 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/10.06, allocations: 153.1 kB / 3.727 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007443/10.06, allocations: 0.7178 MB / 3.728 GB, free: 45.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007435/10.06, allocations: 119.8 kB / 3.728 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/10.06, allocations: 34.44 kB / 3.728 GB, free: 45.91 MB / 0.5105 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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002392/10.06, allocations: 145.2 kB / 3.728 GB, free: 45.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/10.06, allocations: 63.88 kB / 3.728 GB, free: 45.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/10.07, allocations: 3.061 MB / 3.731 GB, free: 45.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.886e-05/10.07, allocations: 45.11 kB / 3.731 GB, free: 45.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/10.07, allocations: 0 / 3.731 GB, free: 45.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/10.07, allocations: 11.2 kB / 3.731 GB, free: 45.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/10.07, allocations: 1.479 MB / 3.732 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/10.07, allocations: 0 / 3.732 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/10.07, allocations: 85.98 kB / 3.733 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/10.07, allocations: 1.404 MB / 3.734 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/10.07, allocations: 10.19 kB / 3.734 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/10.07, allocations: 1.538 MB / 3.735 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/10.07, allocations: 6.328 kB / 3.735 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/10.07, allocations: 2.013 MB / 3.737 GB, free: 44.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005675/10.08, allocations: 337.8 kB / 3.738 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/10.08, allocations: 9.219 kB / 3.738 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/10.08, allocations: 88.55 kB / 3.738 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/10.08, allocations: 53.45 kB / 3.738 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/10.08, allocations: 24.55 kB / 3.738 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006036/10.08, allocations: 466.2 kB / 3.738 GB, free: 44.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/10.08, allocations: 0 / 3.738 GB, free: 44.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006876/10.08, allocations: 1.438 MB / 3.74 GB, free: 44.05 MB / 0.5105 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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01202/10.1, allocations: 3.876 MB / 3.744 GB, free: 43.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002995/10.1, allocations: 1.214 MB / 3.745 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/10.1, allocations: 6.281 kB / 3.745 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/10.1, allocations: 0.7416 MB / 3.745 GB, free: 43.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/10.1, allocations: 319.2 kB / 3.746 GB, free: 43.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008527/10.11, allocations: 2.369 MB / 3.748 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008547/10.11, allocations: 1.163 MB / 3.749 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001578/10.11, allocations: 0.6892 MB / 3.75 GB, free: 41.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/10.11, allocations: 409.4 kB / 3.75 GB, free: 41.91 MB / 0.5105 GB Notification: Performance of SimCode: time 2.504e-06/10.11, allocations: 0 / 3.75 GB, free: 41.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/10.24, allocations: 58.64 MB / 3.808 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/10.24, allocations: 242.9 kB / 3.808 GB, free: 39.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.068/14.3, allocations: 2.406 kB / 3.808 GB, free: 39.28 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat