Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001243, allocations: 196.7 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009131/0.000913, allocations: 97.77 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 45.15 MB / 383.8 MB, free: 316 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.854e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1327, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.632/8.765, allocations: 2.793 GB / 3.297 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/8.765, allocations: 79.81 kB / 3.297 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.74/10.51, allocations: 440.2 MB / 3.727 GB, free: 59.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/10.51, allocations: 0 / 3.727 GB, free: 59.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.917e-05/10.51, allocations: 21.34 kB / 3.727 GB, free: 59.15 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007346/10.51, allocations: 1.774 MB / 3.729 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/10.51, allocations: 15.19 kB / 3.729 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/10.52, allocations: 347.7 kB / 3.729 GB, free: 58 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/10.52, allocations: 0.5728 MB / 3.73 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/10.52, allocations: 28.47 kB / 3.73 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/10.52, allocations: 30.66 kB / 3.73 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009475/10.52, allocations: 0.5521 MB / 3.73 GB, free: 57.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009627/10.52, allocations: 0.6763 MB / 3.731 GB, free: 57.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/10.52, allocations: 3.344 kB / 3.731 GB, free: 57.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/10.52, allocations: 0 / 3.731 GB, free: 57.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/10.52, allocations: 26.25 kB / 3.731 GB, free: 57.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.08124/10.6, allocations: 48.79 MB / 3.779 GB, free: 22.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/10.6, allocations: 373.1 kB / 3.779 GB, free: 21.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/10.6, allocations: 204.2 kB / 3.779 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05017/10.65, allocations: 26.86 MB / 3.805 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.087e-05/10.65, allocations: 38.56 kB / 3.805 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 3.787e-06/10.65, allocations: 0 / 3.805 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=42): time 0.003257/10.65, allocations: 0.8369 MB / 3.806 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/10.65, allocations: 110.8 kB / 3.806 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/10.66, allocations: 401.3 kB / 3.807 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.699e-05/10.66, allocations: 25.7 kB / 3.807 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/10.66, allocations: 351.6 kB / 3.807 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/10.66, allocations: 145.9 kB / 3.807 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/10.66, allocations: 0 / 3.807 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001748/10.66, allocations: 362.8 kB / 3.808 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/10.66, allocations: 169.5 kB / 3.808 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/10.66, allocations: 352 kB / 3.808 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/10.66, allocations: 304.6 kB / 3.808 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/10.66, allocations: 4 kB / 3.808 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002148/10.66, allocations: 0.7267 MB / 3.809 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009592/10.66, allocations: 2.009 MB / 3.811 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/10.66, allocations: 8 kB / 3.811 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007952/10.66, allocations: 183.2 kB / 3.811 GB, free: 4.199 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/10.66, allocations: 143.8 kB / 3.811 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/10.66, allocations: 0.8177 MB / 3.812 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009598/10.66, allocations: 123.4 kB / 3.812 GB, free: 3.094 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.739e-05/10.67, allocations: 31.98 kB / 3.812 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/10.67, allocations: 4 kB / 3.812 GB, free: 3.059 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002156/10.67, allocations: 0.6353 MB / 3.813 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/10.67, allocations: 4.531 kB / 3.813 GB, free: 2.418 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008261/10.67, allocations: 176.7 kB / 3.813 GB, free: 2.242 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/10.67, allocations: 139.8 kB / 3.813 GB, free: 2.105 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000804/10.67, allocations: 0.7266 MB / 3.814 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/10.67, allocations: 95.59 kB / 3.814 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/10.67, allocations: 35.98 kB / 3.814 GB, free: 1.227 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (58): * Single equations (assignments): 57 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002863/10.67, allocations: 124.6 kB / 3.814 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001795/10.67, allocations: 0.5326 MB / 3.815 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/10.67, allocations: 59.34 kB / 3.815 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4915/11.16, allocations: 2.532 MB / 3.817 GB, free: 79.08 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.032e-05/11.16, allocations: 41.3 kB / 3.817 GB, free: 79.08 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/11.16, allocations: 1.141 kB / 3.817 GB, free: 79.08 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/11.16, allocations: 2.578 kB / 3.817 GB, free: 79.08 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004294/11.17, allocations: 3.393 MB / 3.821 GB, free: 78.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/11.17, allocations: 0 / 3.821 GB, free: 78.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/11.17, allocations: 73.7 kB / 3.821 GB, free: 78.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/11.17, allocations: 1.117 MB / 3.822 GB, free: 78.67 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/11.17, allocations: 9.625 kB / 3.822 GB, free: 78.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/11.17, allocations: 1.632 MB / 3.823 GB, free: 78.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/11.17, allocations: 0.9375 kB / 3.823 GB, free: 78.13 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/11.17, allocations: 1.825 MB / 3.825 GB, free: 77.86 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/11.17, allocations: 282 kB / 3.825 GB, free: 77.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/11.17, allocations: 3.953 kB / 3.825 GB, free: 77.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/11.18, allocations: 74.97 kB / 3.825 GB, free: 77.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/11.18, allocations: 43 kB / 3.825 GB, free: 77.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/11.18, allocations: 19.66 kB / 3.825 GB, free: 77.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004606/11.18, allocations: 380.5 kB / 3.826 GB, free: 77.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/11.18, allocations: 0 / 3.826 GB, free: 77.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006841/11.18, allocations: 1.399 MB / 3.827 GB, free: 77.59 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01306/11.2, allocations: 3.849 MB / 3.831 GB, free: 76.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002733/11.2, allocations: 1.054 MB / 3.832 GB, free: 76.67 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/11.2, allocations: 1.031 kB / 3.832 GB, free: 76.67 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009264/11.2, allocations: 0.6255 MB / 3.833 GB, free: 76.65 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/11.2, allocations: 264.9 kB / 3.833 GB, free: 76.65 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007155/11.21, allocations: 2.079 MB / 3.835 GB, free: 76.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008722/11.21, allocations: 1.107 MB / 3.836 GB, free: 75.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002031/11.21, allocations: 0.7412 MB / 3.837 GB, free: 75.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/11.21, allocations: 360.5 kB / 3.837 GB, free: 75.51 MB / 0.5417 GB Notification: Performance of SimCode: time 1.343e-06/11.21, allocations: 1.375 kB / 3.837 GB, free: 75.51 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/11.32, allocations: 48.05 MB / 3.884 GB, free: 74.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/11.32, allocations: 189.7 kB / 3.884 GB, free: 73.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.681/15, allocations: 0 / 3.884 GB, free: 73.95 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat