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.001702/0.001702, allocations: 183.7 kB / 15.76 MB, free: 6.367 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.665/1.665, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008662/0.000866, allocations: 90.84 kB / 270.2 MB, free: 13.37 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.2426/0.2426, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003691, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.794/6.934, allocations: 2.783 GB / 3.262 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000406/6.935, allocations: 89.73 kB / 3.262 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.621/10.56, allocations: 0.7647 GB / 4.027 GB, free: 40.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.124e-06/10.56, allocations: 0 / 4.027 GB, free: 40.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002301/10.56, allocations: 41.36 kB / 4.027 GB, free: 40.3 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.01315/10.57, allocations: 2.877 MB / 4.03 GB, free: 39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/10.57, allocations: 15.45 kB / 4.03 GB, free: 39 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008721/10.57, allocations: 177.1 kB / 4.03 GB, free: 38.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005753/10.58, allocations: 0.6479 MB / 4.03 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003502/10.58, allocations: 0.9744 MB / 4.031 GB, free: 38.56 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/10.58, allocations: 94.84 kB / 4.031 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000487/10.58, allocations: 118.2 kB / 4.032 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006146/10.59, allocations: 2.026 MB / 4.033 GB, free: 38.15 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.242e-05/10.59, allocations: 3.094 kB / 4.034 GB, free: 38.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002995/10.59, allocations: 56.39 kB / 4.034 GB, free: 38.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.923e-05/10.59, allocations: 40.92 kB / 4.034 GB, free: 38.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005467/10.59, allocations: 1.882 MB / 4.035 GB, free: 38.13 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01311/10.61, allocations: 9.493 MB / 4.045 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004896/10.61, allocations: 1.652 MB / 4.046 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04564/10.66, allocations: 24.25 MB / 4.07 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.401e-05/10.66, allocations: 42.59 kB / 4.07 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=94): time 3.246e-06/10.66, allocations: 3.531 kB / 4.07 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=94): time 0.01377/10.67, allocations: 3.337 MB / 4.073 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/10.67, allocations: 169.5 kB / 4.073 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/10.67, allocations: 0.7813 MB / 4.074 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002446/10.67, allocations: 41.83 kB / 4.074 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001881/10.67, allocations: 0.5887 MB / 4.075 GB, free: 31.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005567/10.67, allocations: 323.9 kB / 4.075 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/10.67, allocations: 22.22 kB / 4.075 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002252/10.67, allocations: 350.7 kB / 4.076 GB, free: 31.35 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/10.68, allocations: 0.5013 MB / 4.076 GB, free: 31.35 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/10.68, allocations: 0.8336 MB / 4.077 GB, free: 30.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/10.68, allocations: 0.5766 MB / 4.077 GB, free: 30.94 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/10.68, allocations: 3.688 kB / 4.077 GB, free: 30.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004449/10.68, allocations: 1.656 MB / 4.079 GB, free: 30.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002082/10.69, allocations: 3.748 MB / 4.083 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.185e-05/10.69, allocations: 12.47 kB / 4.083 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/10.69, allocations: 0.5162 MB / 4.083 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/10.69, allocations: 292 kB / 4.083 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/10.69, allocations: 1.567 MB / 4.085 GB, free: 25.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/10.7, allocations: 234.5 kB / 4.085 GB, free: 25.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/10.7, allocations: 66.03 kB / 4.085 GB, free: 25.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/10.7, allocations: 5.406 kB / 4.085 GB, free: 25.69 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003585/10.7, allocations: 1.36 MB / 4.087 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-05/10.7, allocations: 10.28 kB / 4.087 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/10.7, allocations: 18.47 kB / 4.087 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/10.7, allocations: 453.8 kB / 4.087 GB, free: 25.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.032e-05/10.7, allocations: 23.75 kB / 4.087 GB, free: 25.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/10.7, allocations: 226.1 kB / 4.087 GB, free: 25.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/10.7, allocations: 61.16 kB / 4.087 GB, free: 25.57 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 () * Number of clocked 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.001443/10.71, allocations: 388.6 kB / 4.088 GB, free: 25.37 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006344/10.71, allocations: 120.7 kB / 4.088 GB, free: 25.31 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/10.72, allocations: 5.913 MB / 4.094 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/10.72, allocations: 77.83 kB / 4.094 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.718e-05/10.72, allocations: 7.188 kB / 4.094 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.583e-05/10.72, allocations: 3.375 kB / 4.094 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/10.73, allocations: 8.04 MB / 4.102 GB, free: 23.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/10.73, allocations: 0 / 4.102 GB, free: 23.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008884/10.73, allocations: 224.1 kB / 4.102 GB, free: 23.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004393/10.74, allocations: 1.644 MB / 4.103 GB, free: 23.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/10.74, allocations: 29.34 kB / 4.103 GB, free: 23.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004277/10.74, allocations: 2.645 MB / 4.106 GB, free: 22.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/10.74, allocations: 0 / 4.106 GB, free: 22.69 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008002/10.75, allocations: 3.794 MB / 4.11 GB, free: 22.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/10.75, allocations: 0.5608 MB / 4.11 GB, free: 21.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005786/10.75, allocations: 21.28 kB / 4.11 GB, free: 21.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/10.75, allocations: 179.6 kB / 4.11 GB, free: 21.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/10.75, allocations: 101.9 kB / 4.111 GB, free: 21.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/10.75, allocations: 43.91 kB / 4.111 GB, free: 21.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001974/10.76, allocations: 0.7975 MB / 4.111 GB, free: 21.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/10.76, allocations: 0 / 4.111 GB, free: 21.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01218/10.77, allocations: 1.886 MB / 4.113 GB, free: 21.52 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 () * Number of clocked 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.02325/10.79, allocations: 5.985 MB / 4.119 GB, free: 20.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00853/10.8, allocations: 2.732 MB / 4.122 GB, free: 20.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/10.8, allocations: 0 / 4.122 GB, free: 20.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00352/10.8, allocations: 1.594 MB / 4.123 GB, free: 20.01 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/10.81, allocations: 0.6015 MB / 4.124 GB, free: 19.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02648/10.84, allocations: 13.29 MB / 4.137 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00285/10.84, allocations: 1.641 MB / 4.138 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003935/10.84, allocations: 1.367 MB / 4.14 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/10.84, allocations: 0.837 MB / 4.141 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of SimCode: time 2.024e-06/10.84, allocations: 0 / 4.141 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6637/11.51, allocations: 82.62 MB / 4.221 GB, free: 67.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/11.51, allocations: 269.3 kB / 4.222 GB, free: 66.85 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.347/16.86, allocations: 2.344 kB / 4.222 GB, free: 66.85 MB / 0.5573 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