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.001975/0.001975, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.623/1.623, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 94.53 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2805/0.2805, allocations: 45.15 MB / 383.7 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.244e-05/2.245e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1894, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.103/8.292, allocations: 2.77 GB / 3.275 GB, free: 77.07 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/8.293, allocations: 82.45 kB / 3.275 GB, free: 77.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.993/11.29, allocations: 0.8204 GB / 4.095 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.222e-06/11.29, allocations: 2.938 kB / 4.095 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.271e-05/11.29, allocations: 42.78 kB / 4.095 GB, free: 50.4 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.008658/11.29, allocations: 2.598 MB / 4.098 GB, free: 49.03 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/11.29, allocations: 14.59 kB / 4.098 GB, free: 49.03 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/11.3, allocations: 463.4 kB / 4.098 GB, free: 48.95 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/11.3, allocations: 0.9837 MB / 4.099 GB, free: 48.59 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.72e-05/11.3, allocations: 52.84 kB / 4.099 GB, free: 48.59 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/11.3, allocations: 72.5 kB / 4.099 GB, free: 48.59 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001902/11.3, allocations: 1.152 MB / 4.1 GB, free: 48.39 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/11.3, allocations: 1.406 MB / 4.102 GB, free: 47.64 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/11.3, allocations: 7.375 kB / 4.102 GB, free: 47.64 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/11.3, allocations: 2.25 kB / 4.102 GB, free: 47.64 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/11.3, allocations: 58.8 kB / 4.102 GB, free: 47.63 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.652/11.96, allocations: 160.2 MB / 4.258 GB, free: 39.45 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/11.96, allocations: 0.5824 MB / 4.259 GB, free: 39.41 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/11.96, allocations: 358.6 kB / 4.259 GB, free: 39.39 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01533/11.97, allocations: 8.892 MB / 4.268 GB, free: 33.4 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/11.97, allocations: 43.56 kB / 4.268 GB, free: 33.36 MB / 0.573 GB Notification: Performance of pre-optimization done (n=81): time 3.737e-06/11.97, allocations: 2.812 kB / 4.268 GB, free: 33.36 MB / 0.573 GB Notification: Performance of matching and sorting (n=81): time 0.005348/11.98, allocations: 1.459 MB / 4.269 GB, free: 33.27 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/11.98, allocations: 117.6 kB / 4.27 GB, free: 33.14 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/11.98, allocations: 0.6944 MB / 4.27 GB, free: 33.01 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/11.98, allocations: 29.7 kB / 4.27 GB, free: 32.97 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/11.98, allocations: 0.6739 MB / 4.271 GB, free: 32.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/11.98, allocations: 270 kB / 4.271 GB, free: 32.56 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.798e-05/11.98, allocations: 2.078 kB / 4.271 GB, free: 32.56 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.493e-05/11.98, allocations: 350.9 kB / 4.272 GB, free: 32.26 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006059/11.98, allocations: 326.6 kB / 4.272 GB, free: 32.26 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008014/11.98, allocations: 0.6951 MB / 4.272 GB, free: 31.81 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/11.98, allocations: 440.1 kB / 4.273 GB, free: 31.79 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/11.98, allocations: 3.375 kB / 4.273 GB, free: 31.79 MB / 0.573 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003692/11.99, allocations: 1.429 MB / 4.274 GB, free: 31.63 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00102/11.99, allocations: 4.616 MB / 4.279 GB, free: 26.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/11.99, allocations: 12.34 kB / 4.279 GB, free: 26.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/11.99, allocations: 0.4917 MB / 4.279 GB, free: 26.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/11.99, allocations: 219.2 kB / 4.28 GB, free: 26.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/11.99, allocations: 2.885 MB / 4.282 GB, free: 24.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/12, allocations: 230.2 kB / 4.283 GB, free: 24.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/12, allocations: 79.53 kB / 4.283 GB, free: 24.61 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/12, allocations: 3.312 kB / 4.283 GB, free: 24.61 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003734/12, allocations: 1.216 MB / 4.284 GB, free: 24.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/12, allocations: 10.34 kB / 4.284 GB, free: 24.54 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/12, allocations: 458.4 kB / 4.284 GB, free: 24.49 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008048/12, allocations: 242.6 kB / 4.285 GB, free: 24.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/12.01, allocations: 2.648 MB / 4.287 GB, free: 22.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/12.01, allocations: 197.6 kB / 4.287 GB, free: 22.37 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/12.01, allocations: 69.55 kB / 4.287 GB, free: 22.37 MB / 0.573 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 (Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,Source.medium.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.0005037/12.01, allocations: 152.2 kB / 4.287 GB, free: 22.25 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002659/12.01, allocations: 0.947 MB / 4.288 GB, free: 22.11 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003482/12.01, allocations: 104.8 kB / 4.289 GB, free: 22.06 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003859/12.02, allocations: 3.003 MB / 4.291 GB, free: 21.78 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/12.02, allocations: 38.86 kB / 4.291 GB, free: 21.77 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/12.02, allocations: 0 / 4.291 GB, free: 21.77 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/12.02, allocations: 3.844 kB / 4.291 GB, free: 21.77 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005865/12.02, allocations: 4.721 MB / 4.296 GB, free: 20.95 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/12.02, allocations: 0 / 4.296 GB, free: 20.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/12.02, allocations: 92.06 kB / 4.296 GB, free: 20.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/12.02, allocations: 1.389 MB / 4.298 GB, free: 20.88 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-05/12.02, allocations: 15.69 kB / 4.298 GB, free: 20.88 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002967/12.03, allocations: 4.05 MB / 4.302 GB, free: 18.74 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/12.03, allocations: 0 / 4.302 GB, free: 18.74 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/12.03, allocations: 2.387 MB / 4.304 GB, free: 18.39 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006654/12.03, allocations: 349.8 kB / 4.304 GB, free: 18.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/12.03, allocations: 0 / 4.304 GB, free: 18.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/12.03, allocations: 176.4 kB / 4.304 GB, free: 18.18 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/12.03, allocations: 74.17 kB / 4.304 GB, free: 18.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/12.03, allocations: 31.28 kB / 4.304 GB, free: 18.18 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006686/12.03, allocations: 0.5738 MB / 4.305 GB, free: 18.07 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/12.03, allocations: 2.297 kB / 4.305 GB, free: 18.07 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006939/12.04, allocations: 1.88 MB / 4.307 GB, free: 17.91 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,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 (49): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01136/12.05, allocations: 4.562 MB / 4.311 GB, free: 16.81 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005323/12.06, allocations: 1.787 MB / 4.313 GB, free: 16.76 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/12.06, allocations: 0 / 4.313 GB, free: 16.76 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/12.06, allocations: 0.7748 MB / 4.314 GB, free: 16.74 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/12.06, allocations: 472.2 kB / 4.314 GB, free: 16.72 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008028/12.07, allocations: 2.726 MB / 4.317 GB, free: 16.07 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/12.07, allocations: 1.345 MB / 4.318 GB, free: 31.33 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002256/12.07, allocations: 1.118 MB / 4.319 GB, free: 31.28 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006869/12.07, allocations: 0.5571 MB / 4.32 GB, free: 31.27 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/12.07, allocations: 0 / 4.32 GB, free: 31.27 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/12.19, allocations: 67.86 MB / 4.386 GB, free: 16.19 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/12.19, allocations: 210.2 kB / 4.386 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.698/16.89, allocations: 0 / 4.386 GB, free: 15.92 MB / 0.5886 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