Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",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.00258/0.00258, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.00162/0.00162, allocations: 94.64 kB / 267.5 MB, free: 14.11 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.2902/0.2902, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.93e-05/4.947e-05, allocations: 8 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1389, allocations: 58.85 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.746/8.885, allocations: 2.787 GB / 3.26 GB, free: 141 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/8.885, allocations: 90.2 kB / 3.26 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.237/11.12, allocations: 439.7 MB / 3.689 GB, free: 66.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.745e-06/11.12, allocations: 3.625 kB / 3.689 GB, free: 66.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.89e-05/11.12, allocations: 15.75 kB / 3.689 GB, free: 66.64 MB / 0.5105 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.007755/11.13, allocations: 1.778 MB / 3.691 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/11.13, allocations: 11.81 kB / 3.691 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002468/11.13, allocations: 96.98 kB / 3.691 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003873/11.13, allocations: 353.8 kB / 3.691 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/11.14, allocations: 0.5703 MB / 3.692 GB, free: 65.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-05/11.14, allocations: 43.91 kB / 3.692 GB, free: 65.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/11.14, allocations: 59.59 kB / 3.692 GB, free: 65.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/11.14, allocations: 0.9899 MB / 3.693 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/11.14, allocations: 5.688 kB / 3.693 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/11.14, allocations: 27.53 kB / 3.693 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/11.14, allocations: 20.53 kB / 3.693 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/11.14, allocations: 0.8242 MB / 3.694 GB, free: 65.02 MB / 0.5105 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.008064/11.15, allocations: 4.925 MB / 3.698 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/11.15, allocations: 0.7137 MB / 3.699 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005441/11.15, allocations: 221.7 kB / 3.699 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07661/11.23, allocations: 24.29 MB / 3.723 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/11.23, allocations: 41.95 kB / 3.723 GB, free: 45.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 4.097e-06/11.23, allocations: 0 / 3.723 GB, free: 45.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.004996/11.24, allocations: 1.067 MB / 3.724 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/11.24, allocations: 116.5 kB / 3.724 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/11.24, allocations: 453.4 kB / 3.725 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.983e-05/11.24, allocations: 33.7 kB / 3.725 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/11.24, allocations: 371 kB / 3.725 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/11.24, allocations: 151.4 kB / 3.725 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/11.24, allocations: 15.59 kB / 3.725 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/11.24, allocations: 338.8 kB / 3.726 GB, free: 43.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/11.24, allocations: 173.8 kB / 3.726 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/11.24, allocations: 349.7 kB / 3.726 GB, free: 43.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/11.24, allocations: 220.4 kB / 3.726 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/11.24, allocations: 0 / 3.726 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001698/11.24, allocations: 0.6394 MB / 3.727 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004448/11.24, allocations: 2.009 MB / 3.729 GB, free: 40.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/11.24, allocations: 6.812 kB / 3.729 GB, free: 40.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002222/11.24, allocations: 265 kB / 3.729 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/11.25, allocations: 146.9 kB / 3.729 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/11.25, allocations: 0.7506 MB / 3.73 GB, free: 40.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/11.25, allocations: 131.7 kB / 3.73 GB, free: 40.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.584e-05/11.25, allocations: 30.55 kB / 3.73 GB, free: 40.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/11.25, allocations: 3.344 kB / 3.73 GB, free: 40.13 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0019/11.25, allocations: 0.6113 MB / 3.731 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/11.25, allocations: 9 kB / 3.731 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/11.25, allocations: 156.6 kB / 3.731 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009547/11.25, allocations: 146.6 kB / 3.731 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007905/11.25, allocations: 0.6987 MB / 3.732 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009957/11.25, allocations: 101.1 kB / 3.732 GB, free: 39.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/11.25, allocations: 34.84 kB / 3.732 GB, free: 39.2 MB / 0.5105 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 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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.0003052/11.25, allocations: 140 kB / 3.732 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/11.25, allocations: 59.78 kB / 3.732 GB, free: 39.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004576/11.26, allocations: 3.033 MB / 3.735 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.443e-05/11.26, allocations: 44.64 kB / 3.735 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/11.26, allocations: 0 / 3.735 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/11.26, allocations: 7.562 kB / 3.735 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/11.26, allocations: 1.473 MB / 3.737 GB, free: 36.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/11.26, allocations: 0 / 3.737 GB, free: 36.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/11.26, allocations: 102.9 kB / 3.737 GB, free: 36.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003101/11.27, allocations: 1.166 MB / 3.738 GB, free: 36.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.236e-05/11.27, allocations: 12.72 kB / 3.738 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/11.27, allocations: 1.478 MB / 3.739 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/11.27, allocations: 4.062 kB / 3.739 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/11.27, allocations: 1.998 MB / 3.741 GB, free: 34.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006542/11.27, allocations: 334.1 kB / 3.742 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/11.27, allocations: 11.88 kB / 3.742 GB, free: 34.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009672/11.27, allocations: 84.08 kB / 3.742 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/11.27, allocations: 47.16 kB / 3.742 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/11.27, allocations: 24.33 kB / 3.742 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007838/11.27, allocations: 455.8 kB / 3.742 GB, free: 34.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.21e-07/11.27, allocations: 0 / 3.742 GB, free: 34.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006682/11.28, allocations: 1.429 MB / 3.743 GB, free: 33.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01358/11.29, allocations: 3.868 MB / 3.747 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003528/11.3, allocations: 1.149 MB / 3.748 GB, free: 31.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/11.3, allocations: 0 / 3.748 GB, free: 31.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/11.3, allocations: 0.7488 MB / 3.749 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/11.3, allocations: 306.5 kB / 3.749 GB, free: 31.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007825/11.31, allocations: 2.395 MB / 3.752 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/11.31, allocations: 1.164 MB / 3.753 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007308/11.31, allocations: 420.8 kB / 3.753 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/11.31, allocations: 0 / 3.753 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.985/15.3, allocations: 42.63 MB / 3.795 GB, free: 14.17 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat