Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.001093/0.001093, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.000917/0.0009171, allocations: 100.5 kB / 281.6 MB, free: 5.312 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.2309/0.2309, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.597e-05/2.608e-05, allocations: 4 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1384, allocations: 61.92 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.913/9.051, allocations: 2.787 GB / 3.282 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/9.052, allocations: 86.91 kB / 3.282 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.666/10.72, allocations: 440.3 MB / 3.712 GB, free: 75.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.636e-06/10.72, allocations: 0 / 3.712 GB, free: 75.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.439e-05/10.72, allocations: 24.84 kB / 3.712 GB, free: 75.54 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007297/10.73, allocations: 1.779 MB / 3.713 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/10.73, allocations: 15.27 kB / 3.713 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/10.73, allocations: 327.7 kB / 3.714 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/10.73, allocations: 0.5808 MB / 3.714 GB, free: 74.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/10.73, allocations: 27.81 kB / 3.714 GB, free: 74.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/10.73, allocations: 34.97 kB / 3.714 GB, free: 74.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009682/10.73, allocations: 0.5622 MB / 3.715 GB, free: 74.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/10.73, allocations: 0.6774 MB / 3.716 GB, free: 74.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/10.73, allocations: 6.25 kB / 3.716 GB, free: 74.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.126e-05/10.73, allocations: 1.531 kB / 3.716 GB, free: 74.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/10.73, allocations: 33.83 kB / 3.716 GB, free: 74.34 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.07973/10.81, allocations: 44.29 MB / 3.759 GB, free: 47.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/10.81, allocations: 461.8 kB / 3.759 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/10.81, allocations: 208.7 kB / 3.76 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04296/10.86, allocations: 24.16 MB / 3.783 GB, free: 31.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/10.86, allocations: 36.84 kB / 3.783 GB, free: 31.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.445e-06/10.86, allocations: 4 kB / 3.783 GB, free: 31.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.002896/10.86, allocations: 0.862 MB / 3.784 GB, free: 31.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/10.86, allocations: 113.9 kB / 3.784 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/10.86, allocations: 421.1 kB / 3.785 GB, free: 31.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/10.86, allocations: 25.7 kB / 3.785 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/10.86, allocations: 355.8 kB / 3.785 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/10.86, allocations: 142 kB / 3.785 GB, free: 30.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/10.86, allocations: 0 / 3.785 GB, free: 30.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.787e-05/10.86, allocations: 365.9 kB / 3.785 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/10.86, allocations: 182.4 kB / 3.786 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/10.86, allocations: 361.6 kB / 3.786 GB, free: 30.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/10.86, allocations: 332.4 kB / 3.786 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/10.86, allocations: 0 / 3.786 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001799/10.86, allocations: 0.7765 MB / 3.787 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003685/10.86, allocations: 2.004 MB / 3.789 GB, free: 28.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/10.86, allocations: 11.66 kB / 3.789 GB, free: 28.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/10.86, allocations: 275.4 kB / 3.789 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/10.86, allocations: 152.6 kB / 3.789 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/10.87, allocations: 0.8897 MB / 3.79 GB, free: 27.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009044/10.87, allocations: 128.7 kB / 3.79 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-05/10.87, allocations: 38.81 kB / 3.79 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/10.87, allocations: 3.906 kB / 3.79 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001734/10.87, allocations: 0.6573 MB / 3.791 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/10.87, allocations: 5.859 kB / 3.791 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007726/10.87, allocations: 176 kB / 3.791 GB, free: 27.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/10.87, allocations: 154.4 kB / 3.791 GB, free: 27.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008039/10.87, allocations: 0.7387 MB / 3.792 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/10.87, allocations: 98.48 kB / 3.792 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/10.87, allocations: 32.41 kB / 3.792 GB, free: 27.02 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 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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.0002146/10.87, allocations: 130.5 kB / 3.792 GB, free: 26.91 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001421/10.87, allocations: 0.5527 MB / 3.793 GB, free: 26.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/10.87, allocations: 64.11 kB / 3.793 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/10.88, allocations: 2.509 MB / 3.795 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/10.88, allocations: 39.97 kB / 3.795 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/10.88, allocations: 0 / 3.795 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/10.88, allocations: 7.703 kB / 3.795 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/10.88, allocations: 1.149 MB / 3.797 GB, free: 26.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/10.88, allocations: 3.703 kB / 3.797 GB, free: 26.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/10.88, allocations: 71.59 kB / 3.797 GB, free: 26.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/10.88, allocations: 1.177 MB / 3.798 GB, free: 26.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/10.88, allocations: 7.25 kB / 3.798 GB, free: 26.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/10.88, allocations: 1.707 MB / 3.799 GB, free: 25.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/10.88, allocations: 0 / 3.799 GB, free: 25.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/10.88, allocations: 1.849 MB / 3.801 GB, free: 25.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/10.88, allocations: 285.9 kB / 3.802 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/10.89, allocations: 0 / 3.802 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/10.89, allocations: 69.86 kB / 3.802 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/10.89, allocations: 48.31 kB / 3.802 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/10.89, allocations: 17.06 kB / 3.802 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004699/10.89, allocations: 383.3 kB / 3.802 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/10.89, allocations: 0 / 3.802 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006489/10.89, allocations: 1.394 MB / 3.803 GB, free: 24.87 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: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.01182/10.9, allocations: 3.789 MB / 3.807 GB, free: 23.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00288/10.91, allocations: 1.094 MB / 3.808 GB, free: 23.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/10.91, allocations: 0 / 3.808 GB, free: 23.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000857/10.91, allocations: 0.6317 MB / 3.809 GB, free: 23.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/10.91, allocations: 280.6 kB / 3.809 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/10.92, allocations: 2.067 MB / 3.811 GB, free: 23.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/10.92, allocations: 1.114 MB / 3.812 GB, free: 22.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001181/10.92, allocations: 0.7431 MB / 3.813 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/10.92, allocations: 353.7 kB / 3.813 GB, free: 22.35 MB / 0.5261 GB Notification: Performance of SimCode: time 1.432e-06/10.92, allocations: 0 / 3.813 GB, free: 22.35 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08672/11.01, allocations: 48.48 MB / 3.861 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/11.01, allocations: 200.7 kB / 3.861 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.678/14.68, allocations: 0 / 3.861 GB, free: 9.598 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat