Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",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.0023/0.0023, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.328/2.328, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001067/0.001067, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2843/0.2843, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.712e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1242, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.703/8.827, allocations: 2.781 GB / 3.254 GB, free: 62.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/8.827, allocations: 90.91 kB / 3.254 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.249/11.08, allocations: 439 MB / 3.683 GB, free: 44.01 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/11.08, allocations: 3.938 kB / 3.683 GB, free: 44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.169e-05/11.08, allocations: 20 kB / 3.683 GB, free: 43.98 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008707/11.09, allocations: 1.762 MB / 3.685 GB, free: 42.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/11.09, allocations: 12.03 kB / 3.685 GB, free: 42.18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002563/11.09, allocations: 94.52 kB / 3.685 GB, free: 42.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00372/11.09, allocations: 333.1 kB / 3.685 GB, free: 41.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/11.09, allocations: 0.5695 MB / 3.686 GB, free: 41.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.624e-05/11.09, allocations: 45.31 kB / 3.686 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/11.09, allocations: 60.69 kB / 3.686 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/11.09, allocations: 0.9752 MB / 3.687 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/11.09, allocations: 3.984 kB / 3.687 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/11.09, allocations: 28 kB / 3.687 GB, free: 39.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/11.09, allocations: 21 kB / 3.687 GB, free: 39.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/11.1, allocations: 0.8074 MB / 3.688 GB, free: 39.17 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.008614/11.11, allocations: 4.776 MB / 3.692 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/11.11, allocations: 0.6966 MB / 3.693 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005471/11.11, allocations: 225.6 kB / 3.693 GB, free: 33.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07466/11.18, allocations: 24.23 MB / 3.717 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.384e-05/11.18, allocations: 42.89 kB / 3.717 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 3.858e-06/11.18, allocations: 4 kB / 3.717 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.004573/11.19, allocations: 1.013 MB / 3.718 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/11.19, allocations: 106.8 kB / 3.718 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008138/11.19, allocations: 460.8 kB / 3.719 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.003e-05/11.19, allocations: 33.7 kB / 3.719 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/11.19, allocations: 366.6 kB / 3.719 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/11.19, allocations: 153.5 kB / 3.719 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/11.19, allocations: 8 kB / 3.719 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/11.19, allocations: 334.8 kB / 3.719 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/11.19, allocations: 165.1 kB / 3.72 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/11.19, allocations: 339.9 kB / 3.72 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005618/11.19, allocations: 215.6 kB / 3.72 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/11.19, allocations: 4 kB / 3.72 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001683/11.19, allocations: 0.619 MB / 3.721 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.4174/11.61, allocations: 2.09 MB / 3.723 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/11.61, allocations: 5.844 kB / 3.723 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002394/11.61, allocations: 261.8 kB / 3.723 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/11.62, allocations: 150.2 kB / 3.723 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/11.62, allocations: 0.7523 MB / 3.724 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/11.62, allocations: 121.6 kB / 3.724 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/11.62, allocations: 36.78 kB / 3.724 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/11.62, allocations: 6.188 kB / 3.724 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002554/11.62, allocations: 0.6022 MB / 3.725 GB, free: 64.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/11.62, allocations: 5.5 kB / 3.725 GB, free: 64.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/11.62, allocations: 163.6 kB / 3.725 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/11.62, allocations: 149.6 kB / 3.725 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008427/11.62, allocations: 0.6983 MB / 3.726 GB, free: 64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/11.63, allocations: 100.5 kB / 3.726 GB, free: 64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.43e-05/11.63, allocations: 32.56 kB / 3.726 GB, free: 64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (56): * Single equations (assignments): 55 * 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.0003005/11.63, allocations: 149.5 kB / 3.726 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/11.63, allocations: 64.2 kB / 3.726 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004626/11.63, allocations: 2.796 MB / 3.729 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.645e-05/11.63, allocations: 36.28 kB / 3.729 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/11.63, allocations: 0 / 3.729 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/11.63, allocations: 5.922 kB / 3.729 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/11.63, allocations: 1.378 MB / 3.73 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/11.63, allocations: 4.547 kB / 3.73 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/11.63, allocations: 109.3 kB / 3.73 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003475/11.64, allocations: 1.212 MB / 3.731 GB, free: 63.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.412e-05/11.64, allocations: 11.03 kB / 3.731 GB, free: 63.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/11.64, allocations: 1.475 MB / 3.733 GB, free: 62.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/11.64, allocations: 0 / 3.733 GB, free: 62.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/11.64, allocations: 1.796 MB / 3.735 GB, free: 62.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007937/11.64, allocations: 367.7 kB / 3.735 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/11.64, allocations: 12.78 kB / 3.735 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/11.64, allocations: 81.27 kB / 3.735 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/11.65, allocations: 53.38 kB / 3.735 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/11.65, allocations: 16.38 kB / 3.735 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001087/11.65, allocations: 0.5506 MB / 3.736 GB, free: 62.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.01e-07/11.65, allocations: 0 / 3.736 GB, free: 62.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008588/11.65, allocations: 1.441 MB / 3.737 GB, free: 62.21 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: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.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 (39): * Single equations (assignments): 32 * 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: 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.01517/11.67, allocations: 3.635 MB / 3.741 GB, free: 61.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003667/11.67, allocations: 1.028 MB / 3.742 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/11.67, allocations: 4.875 kB / 3.742 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/11.68, allocations: 0.6259 MB / 3.742 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/11.68, allocations: 322 kB / 3.742 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008106/11.69, allocations: 2.263 MB / 3.745 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/11.69, allocations: 1.143 MB / 3.746 GB, free: 60.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007226/11.69, allocations: 414.4 kB / 3.746 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/11.69, allocations: 0 / 3.746 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.927/15.62, allocations: 42.55 MB / 3.788 GB, free: 57.68 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat