Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",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.001457/0.001457, allocations: 173 kB / 8.742 MB, free: 344 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.679/1.679, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.00125/0.00125, allocations: 98.84 kB / 281.6 MB, free: 5.324 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.2524/0.2524, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.751e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.145, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.474/7.619, allocations: 2.788 GB / 3.283 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/7.619, allocations: 81.73 kB / 3.283 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.932/10.55, allocations: 0.7641 GB / 4.047 GB, free: 43.29 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.673e-06/10.55, allocations: 7.812 kB / 4.047 GB, free: 43.29 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001192/10.55, allocations: 37.94 kB / 4.047 GB, free: 43.29 MB / 0.5417 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.01075/10.56, allocations: 2.713 MB / 4.05 GB, free: 42.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/10.56, allocations: 12.64 kB / 4.05 GB, free: 42.23 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005558/10.57, allocations: 0.6461 MB / 4.05 GB, free: 42.14 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/10.57, allocations: 0.9757 MB / 4.051 GB, free: 41.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.179e-05/10.57, allocations: 48.91 kB / 4.051 GB, free: 41.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/10.57, allocations: 63.03 kB / 4.051 GB, free: 41.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001966/10.57, allocations: 1.092 MB / 4.052 GB, free: 41.81 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/10.58, allocations: 1.317 MB / 4.054 GB, free: 41.41 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/10.58, allocations: 1.031 kB / 4.054 GB, free: 41.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/10.58, allocations: 7.781 kB / 4.054 GB, free: 41.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/10.58, allocations: 45.94 kB / 4.054 GB, free: 41.41 MB / 0.5417 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.1537/10.73, allocations: 88.44 MB / 4.14 GB, free: 17.92 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/10.73, allocations: 0.8027 MB / 4.141 GB, free: 17.89 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/10.73, allocations: 409.8 kB / 4.141 GB, free: 17.88 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04598/10.78, allocations: 24.34 MB / 4.165 GB, free: 18.21 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.799e-05/10.78, allocations: 46.5 kB / 4.165 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=86): time 3.737e-06/10.78, allocations: 0 / 4.165 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of matching and sorting (n=86): time 0.005843/10.78, allocations: 1.69 MB / 4.167 GB, free: 18.04 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/10.78, allocations: 166.1 kB / 4.167 GB, free: 17.85 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/10.78, allocations: 0.7017 MB / 4.167 GB, free: 17.69 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/10.78, allocations: 25.7 kB / 4.168 GB, free: 17.66 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/10.78, allocations: 0.6077 MB / 4.168 GB, free: 17.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/10.78, allocations: 285.3 kB / 4.168 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/10.79, allocations: 0 / 4.168 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001499/10.79, allocations: 346 kB / 4.169 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/10.79, allocations: 333.2 kB / 4.169 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/10.79, allocations: 0.66 MB / 4.17 GB, free: 16.47 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/10.79, allocations: 0.5762 MB / 4.17 GB, free: 16.45 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/10.79, allocations: 7.406 kB / 4.17 GB, free: 16.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003629/10.79, allocations: 1.382 MB / 4.172 GB, free: 16.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.002129/10.79, allocations: 3.748 MB / 4.175 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/10.79, allocations: 14.55 kB / 4.175 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/10.8, allocations: 324.6 kB / 4.176 GB, free: 28.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/10.8, allocations: 294.7 kB / 4.176 GB, free: 28.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/10.8, allocations: 1.614 MB / 4.177 GB, free: 27.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/10.8, allocations: 245.2 kB / 4.178 GB, free: 27.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/10.8, allocations: 74.33 kB / 4.178 GB, free: 27.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/10.8, allocations: 3.812 kB / 4.178 GB, free: 27.23 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002652/10.8, allocations: 1.016 MB / 4.179 GB, free: 27.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/10.8, allocations: 6.969 kB / 4.179 GB, free: 27.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/10.8, allocations: 26.38 kB / 4.179 GB, free: 27.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/10.81, allocations: 453.4 kB / 4.179 GB, free: 27.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/10.81, allocations: 17.22 kB / 4.179 GB, free: 27.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/10.81, allocations: 208.3 kB / 4.179 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/10.81, allocations: 65.17 kB / 4.179 GB, free: 27.15 MB / 0.6042 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.0004911/10.81, allocations: 148 kB / 4.18 GB, free: 27.04 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00331/10.81, allocations: 1.057 MB / 4.181 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/10.81, allocations: 122.8 kB / 4.181 GB, free: 26.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005378/10.82, allocations: 4.682 MB / 4.185 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.064e-05/10.82, allocations: 67.06 kB / 4.185 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/10.82, allocations: 0 / 4.185 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/10.82, allocations: 7.141 kB / 4.185 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007676/10.83, allocations: 6.415 MB / 4.192 GB, free: 25.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/10.83, allocations: 0 / 4.192 GB, free: 25.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/10.83, allocations: 178.9 kB / 4.192 GB, free: 25.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/10.83, allocations: 1.733 MB / 4.194 GB, free: 25.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-05/10.83, allocations: 16.95 kB / 4.194 GB, free: 25.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003209/10.83, allocations: 2.97 MB / 4.196 GB, free: 24.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/10.83, allocations: 64 / 4.196 GB, free: 24.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/10.84, allocations: 3.212 MB / 4.2 GB, free: 24.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/10.84, allocations: 467.8 kB / 4.2 GB, free: 23.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/10.84, allocations: 0 / 4.2 GB, free: 23.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/10.84, allocations: 158.3 kB / 4.2 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/10.84, allocations: 88.22 kB / 4.2 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/10.84, allocations: 43.45 kB / 4.2 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009231/10.84, allocations: 0.6422 MB / 4.201 GB, free: 23.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.72e-07/10.84, allocations: 0 / 4.201 GB, free: 23.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.008217/10.85, allocations: 1.797 MB / 4.203 GB, free: 23.42 MB / 0.6042 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.015/10.86, allocations: 5.438 MB / 4.208 GB, free: 22.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004613/10.87, allocations: 2.009 MB / 4.21 GB, free: 22.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/10.87, allocations: 7.844 kB / 4.21 GB, free: 22.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/10.87, allocations: 1.199 MB / 4.211 GB, free: 22.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003567/10.87, allocations: 0.5112 MB / 4.212 GB, free: 21.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/10.88, allocations: 3.639 MB / 4.215 GB, free: 21.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/10.89, allocations: 1.527 MB / 4.217 GB, free: 20.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003209/10.89, allocations: 1.546 MB / 4.218 GB, free: 20.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/10.89, allocations: 0.7233 MB / 4.219 GB, free: 20.2 MB / 0.6042 GB Notification: Performance of SimCode: time 4.569e-06/10.89, allocations: 0 / 4.219 GB, free: 20.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4845/11.37, allocations: 71.15 MB / 4.288 GB, free: 104 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/11.37, allocations: 191.7 kB / 4.289 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.082/16.46, allocations: 0 / 4.289 GB, free: 103.8 MB / 0.6042 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat