Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000889/0.0008891, allocations: 86.62 kB / 292.1 MB, free: 5.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.189/0.189, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.719e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 63.24 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.771/5.876, allocations: 2.771 GB / 3.282 GB, free: 17.23 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/5.876, allocations: 87.52 kB / 3.282 GB, free: 17.19 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.672/8.549, allocations: 0.8278 GB / 4.11 GB, free: 27.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.443e-06/8.549, allocations: 0 / 4.11 GB, free: 27.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001466/8.549, allocations: 45.73 kB / 4.11 GB, free: 27.58 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.009058/8.558, allocations: 2.598 MB / 4.113 GB, free: 24.95 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/8.558, allocations: 8.031 kB / 4.113 GB, free: 24.94 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005507/8.559, allocations: 191.6 kB / 4.113 GB, free: 24.74 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/8.562, allocations: 463.6 kB / 4.113 GB, free: 24.29 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/8.564, allocations: 0.9776 MB / 4.114 GB, free: 23.29 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/8.564, allocations: 110.4 kB / 4.115 GB, free: 23.18 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003135/8.565, allocations: 120 kB / 4.115 GB, free: 23.06 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004068/8.569, allocations: 1.956 MB / 4.117 GB, free: 20.97 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/8.569, allocations: 3.938 kB / 4.117 GB, free: 20.96 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/8.569, allocations: 62.52 kB / 4.117 GB, free: 20.91 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.805e-05/8.569, allocations: 58.22 kB / 4.117 GB, free: 20.85 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/8.572, allocations: 1.59 MB / 4.118 GB, free: 19.25 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.008058/8.58, allocations: 9.443 MB / 4.127 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/8.583, allocations: 1.064 MB / 4.128 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/8.583, allocations: 407.1 kB / 4.129 GB, free: 7.625 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01504/8.598, allocations: 8.902 MB / 4.138 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/8.598, allocations: 47.28 kB / 4.138 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=91): time 2.495e-06/8.598, allocations: 0 / 4.138 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=91): time 0.00685/8.605, allocations: 1.956 MB / 4.14 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/8.605, allocations: 111.6 kB / 4.14 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/8.607, allocations: 0.755 MB / 4.14 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/8.607, allocations: 41.7 kB / 4.14 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005335/8.607, allocations: 0.6305 MB / 4.141 GB, free: 9.977 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003589/8.608, allocations: 313.7 kB / 4.141 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/8.608, allocations: 20 kB / 4.141 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001605/8.608, allocations: 357.9 kB / 4.142 GB, free: 9.297 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/8.609, allocations: 330.6 kB / 4.142 GB, free: 8.973 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009388/8.61, allocations: 0.6985 MB / 4.143 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007395/8.61, allocations: 421.8 kB / 4.143 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/8.61, allocations: 4 kB / 4.143 GB, free: 7.691 MB / 0.5573 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003413/8.614, allocations: 1.479 MB / 4.145 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00194/8.616, allocations: 4.609 MB / 4.149 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/8.616, allocations: 12 kB / 4.149 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/8.618, allocations: 0.514 MB / 4.15 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/8.618, allocations: 223.6 kB / 4.15 GB, free: 476 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3696/8.988, allocations: 2.706 MB / 4.152 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/8.99, allocations: 249 kB / 4.153 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/8.99, allocations: 72.22 kB / 4.153 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/8.99, allocations: 5.562 kB / 4.153 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003575/8.994, allocations: 1.354 MB / 4.154 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/8.994, allocations: 11.03 kB / 4.154 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/8.996, allocations: 466.8 kB / 4.154 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007425/8.997, allocations: 240.9 kB / 4.155 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/8.999, allocations: 2.597 MB / 4.157 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/9.001, allocations: 229.3 kB / 4.157 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/9.001, allocations: 67.53 kB / 4.158 GB, free: 52.62 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,2 8,2 8,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003673/9.001, allocations: 181.8 kB / 4.158 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/9.002, allocations: 117.2 kB / 4.158 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004556/9.006, allocations: 3.887 MB / 4.162 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.064e-05/9.006, allocations: 44.97 kB / 4.162 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/9.006, allocations: 4.906 kB / 4.162 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/9.006, allocations: 8.422 kB / 4.162 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/9.012, allocations: 6.069 MB / 4.168 GB, free: 51.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/9.012, allocations: 0 / 4.168 GB, free: 51.35 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/9.013, allocations: 123.3 kB / 4.168 GB, free: 51.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002742/9.016, allocations: 1.451 MB / 4.169 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-05/9.016, allocations: 19.81 kB / 4.169 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/9.018, allocations: 3.724 MB / 4.173 GB, free: 49.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/9.018, allocations: 0 / 4.173 GB, free: 49.17 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/9.022, allocations: 2.732 MB / 4.175 GB, free: 48.81 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009957/9.023, allocations: 404.9 kB / 4.176 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/9.023, allocations: 17.25 kB / 4.176 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/9.024, allocations: 203 kB / 4.176 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/9.024, allocations: 88.81 kB / 4.176 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.048e-05/9.024, allocations: 37.12 kB / 4.176 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001047/9.025, allocations: 0.6608 MB / 4.177 GB, free: 48.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.02e-07/9.025, allocations: 0 / 4.177 GB, free: 48.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009132/9.035, allocations: 1.95 MB / 4.179 GB, free: 48.46 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: 24 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 10,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01363/9.048, allocations: 4.672 MB / 4.183 GB, free: 47.49 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006363/9.055, allocations: 2.003 MB / 4.185 GB, free: 47.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/9.055, allocations: 6.078 kB / 4.185 GB, free: 47.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/9.056, allocations: 0.9245 MB / 4.186 GB, free: 47.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/9.06, allocations: 0.5717 MB / 4.187 GB, free: 47.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008314/9.068, allocations: 3.085 MB / 4.19 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/9.069, allocations: 1.405 MB / 4.191 GB, free: 46.03 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001841/9.07, allocations: 0.9612 MB / 4.192 GB, free: 46.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/9.071, allocations: 0.6033 MB / 4.193 GB, free: 46.01 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/9.071, allocations: 0 / 4.193 GB, free: 46.01 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/9.197, allocations: 84.32 MB / 4.275 GB, free: 42.44 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/9.197, allocations: 248.1 kB / 4.275 GB, free: 42.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.644/13.84, allocations: 4 kB / 4.275 GB, free: 42.1 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat