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.001414/0.001414, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 221.3 MB / 236 MB, free: 2.91 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.0009719/0.0009715, allocations: 89.86 kB / 287 MB, free: 176 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1978/0.1978, allocations: 44.16 MB / 382 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.824e-05, allocations: 4 kB / 451.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 61.91 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.873/7.008, allocations: 2.789 GB / 3.29 GB, free: 80.13 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/7.008, allocations: 83.95 kB / 3.29 GB, free: 80.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.387/10.39, allocations: 0.7707 GB / 4.061 GB, free: 44.32 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.015e-06/10.39, allocations: 0 / 4.061 GB, free: 44.32 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001063/10.4, allocations: 42.28 kB / 4.061 GB, free: 44.31 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.01189/10.41, allocations: 2.72 MB / 4.064 GB, free: 43.05 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/10.41, allocations: 7.969 kB / 4.064 GB, free: 43.05 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004053/10.41, allocations: 176 kB / 4.064 GB, free: 43.01 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005121/10.41, allocations: 0.6471 MB / 4.065 GB, free: 42.93 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/10.41, allocations: 0.9719 MB / 4.066 GB, free: 42.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/10.41, allocations: 98.41 kB / 4.066 GB, free: 42.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/10.42, allocations: 111.1 kB / 4.066 GB, free: 42.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003859/10.42, allocations: 1.932 MB / 4.068 GB, free: 42.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/10.42, allocations: 7.344 kB / 4.068 GB, free: 42.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/10.42, allocations: 53 kB / 4.068 GB, free: 42.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-05/10.42, allocations: 45.11 kB / 4.068 GB, free: 42.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003385/10.42, allocations: 1.628 MB / 4.069 GB, free: 42.18 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.01097/10.43, allocations: 9.492 MB / 4.079 GB, free: 35.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003985/10.44, allocations: 1.444 MB / 4.08 GB, free: 35.76 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007876/10.44, allocations: 453.5 kB / 4.08 GB, free: 35.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04546/10.48, allocations: 24.35 MB / 4.104 GB, free: 20.87 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.945e-05/10.48, allocations: 43.34 kB / 4.104 GB, free: 20.83 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=94): time 4.008e-06/10.48, allocations: 0 / 4.104 GB, free: 20.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94): time 0.007133/10.49, allocations: 2.032 MB / 4.106 GB, free: 20.69 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/10.49, allocations: 178 kB / 4.106 GB, free: 20.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/10.49, allocations: 0.7676 MB / 4.107 GB, free: 20.33 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001941/10.49, allocations: 46.92 kB / 4.107 GB, free: 20.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/10.49, allocations: 0.582 MB / 4.108 GB, free: 20.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004246/10.49, allocations: 316 kB / 4.108 GB, free: 19.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/10.49, allocations: 20.69 kB / 4.108 GB, free: 19.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001305/10.49, allocations: 353.2 kB / 4.108 GB, free: 19.53 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006477/10.49, allocations: 338.5 kB / 4.109 GB, free: 19.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000809/10.5, allocations: 0.6727 MB / 4.109 GB, free: 19.13 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007498/10.5, allocations: 411.8 kB / 4.11 GB, free: 19.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/10.5, allocations: 3.656 kB / 4.11 GB, free: 19.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00251/10.5, allocations: 1.278 MB / 4.111 GB, free: 18.97 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002199/10.5, allocations: 3.75 MB / 4.115 GB, free: 31.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.444e-05/10.5, allocations: 7.938 kB / 4.115 GB, free: 31.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/10.5, allocations: 466.6 kB / 4.115 GB, free: 31.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/10.5, allocations: 294 kB / 4.115 GB, free: 31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/10.51, allocations: 1.462 MB / 4.117 GB, free: 29.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/10.51, allocations: 244.3 kB / 4.117 GB, free: 29.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/10.51, allocations: 71.56 kB / 4.117 GB, free: 29.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/10.51, allocations: 10.25 kB / 4.117 GB, free: 29.88 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002033/10.51, allocations: 1.007 MB / 4.118 GB, free: 29.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/10.51, allocations: 14.23 kB / 4.118 GB, free: 29.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/10.51, allocations: 17.5 kB / 4.118 GB, free: 29.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/10.51, allocations: 458.8 kB / 4.119 GB, free: 29.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.338e-05/10.51, allocations: 22.02 kB / 4.119 GB, free: 29.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/10.52, allocations: 225.8 kB / 4.119 GB, free: 29.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/10.52, allocations: 58.62 kB / 4.119 GB, free: 29.79 MB / 0.5573 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.0004616/10.52, allocations: 178 kB / 4.119 GB, free: 29.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004366/10.52, allocations: 123.2 kB / 4.119 GB, free: 29.61 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006838/10.52, allocations: 5.71 MB / 4.125 GB, free: 28.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.05e-05/10.52, allocations: 91.12 kB / 4.125 GB, free: 28.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/10.52, allocations: 2.719 kB / 4.125 GB, free: 28.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/10.52, allocations: 3.422 kB / 4.125 GB, free: 28.98 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009853/10.53, allocations: 7.841 MB / 4.133 GB, free: 28.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/10.53, allocations: 3.703 kB / 4.133 GB, free: 28.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009064/10.53, allocations: 224.3 kB / 4.133 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003588/10.54, allocations: 1.906 MB / 4.135 GB, free: 28.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/10.54, allocations: 35.25 kB / 4.135 GB, free: 28.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/10.54, allocations: 2.65 MB / 4.137 GB, free: 26.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/10.54, allocations: 0 / 4.137 GB, free: 26.34 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004377/10.54, allocations: 3.528 MB / 4.141 GB, free: 24.63 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/10.55, allocations: 0.5593 MB / 4.141 GB, free: 24.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000447/10.55, allocations: 22.59 kB / 4.141 GB, free: 24.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/10.55, allocations: 182.2 kB / 4.141 GB, free: 24.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/10.55, allocations: 101 kB / 4.142 GB, free: 24.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/10.55, allocations: 43.44 kB / 4.142 GB, free: 24.16 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001462/10.55, allocations: 0.7941 MB / 4.142 GB, free: 23.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/10.55, allocations: 0 / 4.142 GB, free: 23.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008657/10.56, allocations: 1.879 MB / 4.144 GB, free: 23.42 MB / 0.5573 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.01551/10.57, allocations: 5.623 MB / 4.15 GB, free: 21.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005989/10.58, allocations: 2.247 MB / 4.152 GB, free: 20.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/10.58, allocations: 0 / 4.152 GB, free: 20.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002343/10.58, allocations: 1.424 MB / 4.153 GB, free: 19.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003808/10.59, allocations: 0.6042 MB / 4.154 GB, free: 19.34 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/10.6, allocations: 4.228 MB / 4.158 GB, free: 17.54 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/10.6, allocations: 1.637 MB / 4.16 GB, free: 16.76 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003365/10.6, allocations: 1.427 MB / 4.161 GB, free: 16.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/10.61, allocations: 0.8238 MB / 4.162 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of SimCode: time 1.884e-06/10.61, allocations: 0 / 4.162 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5949/11.2, allocations: 88.96 MB / 4.249 GB, free: 72.16 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/11.2, allocations: 237.3 kB / 4.249 GB, free: 71.85 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.619/16.82, allocations: 6.828 kB / 4.249 GB, free: 71.85 MB / 0.573 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