Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",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.002247/0.002254, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001115, allocations: 91.5 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2978/0.2978, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.425e-05/2.417e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4227, allocations: 58.85 MB / 477.2 MB, free: 5.191 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.081/8.504, allocations: 2.782 GB / 3.248 GB, free: 5.129 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/8.504, allocations: 92.38 kB / 3.248 GB, free: 5.078 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 4.17/12.67, allocations: 0.7558 GB / 4.004 GB, free: 20.23 MB / 0.5108 GB Notification: Performance of FrontEnd: time 3.006e-06/12.67, allocations: 0 / 4.004 GB, free: 20.23 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001463/12.67, allocations: 47.7 kB / 4.004 GB, free: 20.18 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01276/12.69, allocations: 2.7 MB / 4.007 GB, free: 17.44 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/12.69, allocations: 16.03 kB / 4.007 GB, free: 17.43 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007288/12.69, allocations: 0.642 MB / 4.008 GB, free: 16.78 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/12.7, allocations: 0.9726 MB / 4.009 GB, free: 15.79 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/12.7, allocations: 44 kB / 4.009 GB, free: 15.74 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/12.7, allocations: 64 kB / 4.009 GB, free: 15.68 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003059/12.7, allocations: 1.102 MB / 4.01 GB, free: 14.57 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003087/12.7, allocations: 1.305 MB / 4.011 GB, free: 13.12 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/12.7, allocations: 11.94 kB / 4.011 GB, free: 13.11 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002102/12.7, allocations: 4 kB / 4.011 GB, free: 13.1 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-05/12.7, allocations: 42.02 kB / 4.011 GB, free: 13.06 MB / 0.5108 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.7029/13.41, allocations: 88.42 MB / 4.097 GB, free: 31.45 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/13.41, allocations: 0.8107 MB / 4.098 GB, free: 31.42 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009934/13.41, allocations: 411.6 kB / 4.099 GB, free: 31.41 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08043/13.49, allocations: 24.32 MB / 4.122 GB, free: 15.77 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.571e-05/13.49, allocations: 42.53 kB / 4.122 GB, free: 15.73 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=86): time 3.878e-06/13.49, allocations: 0 / 4.122 GB, free: 15.73 MB / 0.5421 GB Notification: Performance of matching and sorting (n=86): time 0.00861/13.5, allocations: 1.686 MB / 4.124 GB, free: 15.66 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/13.5, allocations: 168.4 kB / 4.124 GB, free: 15.47 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/13.5, allocations: 0.7014 MB / 4.125 GB, free: 15.32 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.000295/13.5, allocations: 29.45 kB / 4.125 GB, free: 15.29 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.000519/13.5, allocations: 0.6158 MB / 4.125 GB, free: 14.99 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004506/13.5, allocations: 280.5 kB / 4.126 GB, free: 14.84 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.606e-05/13.5, allocations: 0 / 4.126 GB, free: 14.84 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001789/13.5, allocations: 359.9 kB / 4.126 GB, free: 14.52 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008994/13.5, allocations: 337.4 kB / 4.126 GB, free: 14.52 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/13.51, allocations: 0.6483 MB / 4.127 GB, free: 14.14 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00353/13.51, allocations: 0.5823 MB / 4.128 GB, free: 14.12 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/13.51, allocations: 3.625 kB / 4.128 GB, free: 14.12 MB / 0.5421 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005682/13.52, allocations: 1.322 MB / 4.129 GB, free: 14.02 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.002108/13.52, allocations: 3.75 MB / 4.133 GB, free: 26.09 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.435e-05/13.52, allocations: 7.312 kB / 4.133 GB, free: 26.09 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002133/13.52, allocations: 342.8 kB / 4.133 GB, free: 26.07 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/13.52, allocations: 289.9 kB / 4.133 GB, free: 26.07 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/13.53, allocations: 1.614 MB / 4.135 GB, free: 25.02 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/13.53, allocations: 245.3 kB / 4.135 GB, free: 24.98 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003229/13.53, allocations: 63.66 kB / 4.135 GB, free: 24.98 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/13.53, allocations: 8.391 kB / 4.135 GB, free: 24.97 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004595/13.53, allocations: 1.026 MB / 4.136 GB, free: 24.95 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/13.53, allocations: 9.469 kB / 4.136 GB, free: 24.95 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/13.53, allocations: 17.97 kB / 4.136 GB, free: 24.95 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004447/13.54, allocations: 455.6 kB / 4.137 GB, free: 24.94 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.822e-05/13.54, allocations: 23.28 kB / 4.137 GB, free: 24.94 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/13.54, allocations: 214.5 kB / 4.137 GB, free: 24.91 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/13.54, allocations: 65.03 kB / 4.137 GB, free: 24.91 MB / 0.5577 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005748/13.54, allocations: 134.2 kB / 4.137 GB, free: 24.8 MB / 0.5577 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005451/13.55, allocations: 1.062 MB / 4.138 GB, free: 24.67 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005961/13.55, allocations: 115.3 kB / 4.138 GB, free: 24.62 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009696/13.56, allocations: 4.679 MB / 4.143 GB, free: 24.18 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-05/13.56, allocations: 70.41 kB / 4.143 GB, free: 24.18 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/13.56, allocations: 3.953 kB / 4.143 GB, free: 24.17 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.45e-05/13.56, allocations: 7.312 kB / 4.143 GB, free: 24.17 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/13.57, allocations: 6.406 MB / 4.149 GB, free: 23.61 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/13.57, allocations: 4 kB / 4.149 GB, free: 23.61 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/13.57, allocations: 185.5 kB / 4.149 GB, free: 23.61 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004017/13.58, allocations: 1.719 MB / 4.151 GB, free: 23.51 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002727/13.58, allocations: 12.48 kB / 4.151 GB, free: 23.51 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004801/13.58, allocations: 2.975 MB / 4.154 GB, free: 22.41 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/13.58, allocations: 0 / 4.154 GB, free: 22.41 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006696/13.59, allocations: 3.212 MB / 4.157 GB, free: 22 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/13.59, allocations: 473.7 kB / 4.157 GB, free: 21.75 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003359/13.59, allocations: 3.906 kB / 4.157 GB, free: 21.75 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/13.59, allocations: 152.2 kB / 4.158 GB, free: 21.73 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/13.59, allocations: 90.17 kB / 4.158 GB, free: 21.73 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/13.59, allocations: 41.86 kB / 4.158 GB, free: 21.73 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.001256/13.59, allocations: 0.6497 MB / 4.158 GB, free: 21.62 MB / 0.5577 GB Notification: Performance of sort global known variables: time 6.52e-07/13.59, allocations: 0 / 4.158 GB, free: 21.62 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.009404/13.6, allocations: 1.793 MB / 4.16 GB, free: 21.48 MB / 0.5577 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 ($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,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 16,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01899/13.62, allocations: 5.44 MB / 4.165 GB, free: 20.3 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.005673/13.63, allocations: 1.963 MB / 4.167 GB, free: 20.26 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/13.63, allocations: 3.438 kB / 4.167 GB, free: 20.26 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.002321/13.63, allocations: 1.208 MB / 4.168 GB, free: 20.23 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004851/13.64, allocations: 0.5055 MB / 4.169 GB, free: 20.19 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/13.65, allocations: 3.667 MB / 4.173 GB, free: 19.36 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/13.65, allocations: 1.519 MB / 4.174 GB, free: 18.59 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/13.65, allocations: 0.7504 MB / 4.175 GB, free: 18.59 MB / 0.5577 GB Notification: Performance of SimCode: time 1.413e-06/13.65, allocations: 0 / 4.175 GB, free: 18.59 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.302/17.95, allocations: 68.32 MB / 4.241 GB, free: 9.402 MB / 0.5733 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat