Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_3_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.001065/0.001065, allocations: 183.4 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.463/1.463, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.000816/0.000816, allocations: 88.42 kB / 267 MB, free: 9.281 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.3416/0.3416, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/3.012e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.19/6.303, allocations: 2.783 GB / 3.256 GB, free: 114 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/6.304, allocations: 83.95 kB / 3.256 GB, free: 114 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.288/9.592, allocations: 0.7624 GB / 4.018 GB, free: 37.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.414e-06/9.592, allocations: 0 / 4.018 GB, free: 37.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001271/9.592, allocations: 41.39 kB / 4.018 GB, free: 37.12 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01146/9.603, allocations: 2.702 MB / 4.021 GB, free: 35.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/9.604, allocations: 10.88 kB / 4.021 GB, free: 35.91 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003949/9.604, allocations: 171 kB / 4.021 GB, free: 35.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005305/9.609, allocations: 0.6463 MB / 4.022 GB, free: 35.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/9.612, allocations: 0.9746 MB / 4.023 GB, free: 35.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.941e-05/9.612, allocations: 94.19 kB / 4.023 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/9.612, allocations: 110.7 kB / 4.023 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004253/9.616, allocations: 1.946 MB / 4.025 GB, free: 35.06 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/9.616, allocations: 6.688 kB / 4.025 GB, free: 35.06 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/9.617, allocations: 49.81 kB / 4.025 GB, free: 35.06 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/9.617, allocations: 42.59 kB / 4.025 GB, free: 35.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004244/9.621, allocations: 1.633 MB / 4.027 GB, free: 35.04 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.01396/9.635, allocations: 9.489 MB / 4.036 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004062/9.639, allocations: 1.441 MB / 4.037 GB, free: 28.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008434/9.64, allocations: 456.3 kB / 4.038 GB, free: 28.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04601/9.686, allocations: 24.33 MB / 4.061 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.01e-05/9.686, allocations: 55.53 kB / 4.062 GB, free: 29.74 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=94): time 3.306e-06/9.686, allocations: 1.875 kB / 4.062 GB, free: 29.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94): time 0.006937/9.693, allocations: 2.036 MB / 4.064 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/9.693, allocations: 165.2 kB / 4.064 GB, free: 29.42 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/9.694, allocations: 0.7783 MB / 4.064 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/9.694, allocations: 46.33 kB / 4.064 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/9.695, allocations: 0.582 MB / 4.065 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003832/9.695, allocations: 322.6 kB / 4.065 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/9.695, allocations: 20.94 kB / 4.065 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001924/9.696, allocations: 348.9 kB / 4.066 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/9.696, allocations: 340.3 kB / 4.066 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008348/9.697, allocations: 0.6665 MB / 4.067 GB, free: 28.07 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007311/9.698, allocations: 416.8 kB / 4.067 GB, free: 28.06 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/9.698, allocations: 6.656 kB / 4.067 GB, free: 28.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002605/9.7, allocations: 1.28 MB / 4.068 GB, free: 27.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002205/9.703, allocations: 3.75 MB / 4.072 GB, free: 24.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/9.703, allocations: 14.5 kB / 4.072 GB, free: 24.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/9.705, allocations: 463.7 kB / 4.072 GB, free: 24.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/9.707, allocations: 293.3 kB / 4.073 GB, free: 24.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/9.709, allocations: 1.465 MB / 4.074 GB, free: 22.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/9.712, allocations: 244.1 kB / 4.074 GB, free: 22.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/9.712, allocations: 64.34 kB / 4.074 GB, free: 22.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/9.712, allocations: 4.562 kB / 4.074 GB, free: 22.89 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002058/9.714, allocations: 1.016 MB / 4.075 GB, free: 22.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/9.714, allocations: 13.23 kB / 4.075 GB, free: 22.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/9.714, allocations: 15.03 kB / 4.075 GB, free: 22.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/9.716, allocations: 458.9 kB / 4.076 GB, free: 22.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.78e-05/9.716, allocations: 17.78 kB / 4.076 GB, free: 22.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/9.718, allocations: 220.4 kB / 4.076 GB, free: 22.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/9.718, allocations: 67.83 kB / 4.076 GB, free: 22.82 MB / 0.5417 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 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].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.0004899/9.719, allocations: 180.8 kB / 4.076 GB, free: 22.71 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005157/9.719, allocations: 123.9 kB / 4.077 GB, free: 22.65 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007177/9.727, allocations: 5.718 MB / 4.082 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-05/9.727, allocations: 81.67 kB / 4.082 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/9.727, allocations: 3.953 kB / 4.082 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/9.727, allocations: 6.422 kB / 4.082 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/9.737, allocations: 7.836 MB / 4.09 GB, free: 21.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/9.737, allocations: 0 / 4.09 GB, free: 21.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008747/9.738, allocations: 229 kB / 4.09 GB, free: 21.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00413/9.742, allocations: 1.898 MB / 4.092 GB, free: 21.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/9.743, allocations: 26.08 kB / 4.092 GB, free: 21.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/9.746, allocations: 2.655 MB / 4.095 GB, free: 20.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/9.746, allocations: 0 / 4.095 GB, free: 20.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005686/9.751, allocations: 3.538 MB / 4.098 GB, free: 19.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/9.753, allocations: 0.56 MB / 4.099 GB, free: 19.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006437/9.753, allocations: 21.56 kB / 4.099 GB, free: 19.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/9.755, allocations: 180.8 kB / 4.099 GB, free: 19.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/9.756, allocations: 102.1 kB / 4.099 GB, free: 19.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/9.756, allocations: 48.02 kB / 4.099 GB, free: 19.29 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001678/9.758, allocations: 0.7813 MB / 4.1 GB, free: 19.17 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/9.758, allocations: 0 / 4.1 GB, free: 19.17 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01096/9.769, allocations: 1.876 MB / 4.101 GB, free: 18.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 ($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,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.02105/9.79, allocations: 5.626 MB / 4.107 GB, free: 17.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006371/9.796, allocations: 2.244 MB / 4.109 GB, free: 17.49 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/9.796, allocations: 3.688 kB / 4.109 GB, free: 17.49 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002453/9.799, allocations: 1.424 MB / 4.111 GB, free: 17.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004263/9.803, allocations: 0.5942 MB / 4.111 GB, free: 17.42 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/9.818, allocations: 4.231 MB / 4.115 GB, free: 16.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/9.82, allocations: 1.641 MB / 4.117 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003442/9.823, allocations: 1.424 MB / 4.118 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/9.824, allocations: 0.8203 MB / 4.119 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of SimCode: time 2.866e-06/9.824, allocations: 0 / 4.119 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6126/10.44, allocations: 88.78 MB / 4.206 GB, free: 50.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002728/10.44, allocations: 235.1 kB / 4.206 GB, free: 49.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.538/15.98, allocations: 4 kB / 4.206 GB, free: 49.82 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat