Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",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.001114/0.001114, allocations: 176.1 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 86.61 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2835/0.2835, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.332e-05/2.329e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1655, allocations: 58.86 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.108/8.273, allocations: 2.781 GB / 3.247 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/8.274, allocations: 85.7 kB / 3.247 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.395/9.669, allocations: 435.2 MB / 3.672 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/9.669, allocations: 3 kB / 3.672 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.844e-05/9.669, allocations: 15.34 kB / 3.672 GB, free: 62.69 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007306/9.676, allocations: 1.752 MB / 3.674 GB, free: 61.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/9.676, allocations: 7.562 kB / 3.674 GB, free: 61.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/9.679, allocations: 331.2 kB / 3.674 GB, free: 61.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/9.68, allocations: 0.5705 MB / 3.675 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/9.68, allocations: 29.25 kB / 3.675 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-05/9.68, allocations: 35.44 kB / 3.675 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009337/9.681, allocations: 0.5464 MB / 3.675 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009518/9.682, allocations: 0.651 MB / 3.676 GB, free: 61.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/9.682, allocations: 4.453 kB / 3.676 GB, free: 61.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.702e-05/9.682, allocations: 7.547 kB / 3.676 GB, free: 61.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/9.682, allocations: 27.42 kB / 3.676 GB, free: 61.35 MB / 0.4948 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.03368/9.716, allocations: 19.56 MB / 3.695 GB, free: 49.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006917/9.717, allocations: 411.3 kB / 3.695 GB, free: 49.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/9.717, allocations: 213.2 kB / 3.696 GB, free: 49.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08153/9.798, allocations: 48.14 MB / 3.743 GB, free: 18.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/9.798, allocations: 38.12 kB / 3.743 GB, free: 18.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 2.354e-06/9.798, allocations: 0 / 3.743 GB, free: 18.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50): time 0.006226/9.805, allocations: 1.826 MB / 3.744 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/9.805, allocations: 110.3 kB / 3.745 GB, free: 18.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/9.805, allocations: 387.9 kB / 3.745 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/9.805, allocations: 29.58 kB / 3.745 GB, free: 17.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/9.806, allocations: 333.4 kB / 3.745 GB, free: 17.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/9.806, allocations: 168.4 kB / 3.745 GB, free: 17.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/9.806, allocations: 0 / 3.745 GB, free: 17.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001836/9.806, allocations: 362.4 kB / 3.746 GB, free: 17.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/9.806, allocations: 186.8 kB / 3.746 GB, free: 17.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/9.807, allocations: 353.6 kB / 3.746 GB, free: 17.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/9.808, allocations: 323.8 kB / 3.747 GB, free: 17.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/9.808, allocations: 0 / 3.747 GB, free: 17.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002335/9.81, allocations: 0.8637 MB / 3.747 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003978/9.811, allocations: 1.839 MB / 3.749 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/9.811, allocations: 6.438 kB / 3.749 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/9.812, allocations: 312 kB / 3.75 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/9.812, allocations: 138.3 kB / 3.75 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/9.813, allocations: 0.9615 MB / 3.751 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008277/9.814, allocations: 87.38 kB / 3.751 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/9.814, allocations: 30.67 kB / 3.751 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/9.814, allocations: 6.188 kB / 3.751 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002076/9.816, allocations: 0.7164 MB / 3.751 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/9.816, allocations: 7.906 kB / 3.751 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/9.818, allocations: 275.1 kB / 3.752 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/9.818, allocations: 152.6 kB / 3.752 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008924/9.819, allocations: 0.8459 MB / 3.753 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006929/9.82, allocations: 72.39 kB / 3.753 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/9.82, allocations: 35.44 kB / 3.753 GB, free: 13.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (54): * Single equations (assignments): 53 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002326/9.82, allocations: 125.5 kB / 3.753 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001523/9.822, allocations: 0.5716 MB / 3.753 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/9.822, allocations: 55.34 kB / 3.754 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/9.824, allocations: 2.263 MB / 3.756 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/9.824, allocations: 29.25 kB / 3.756 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/9.824, allocations: 4 kB / 3.756 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/9.824, allocations: 3.094 kB / 3.756 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/9.829, allocations: 3.134 MB / 3.759 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/9.829, allocations: 0 / 3.759 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/9.829, allocations: 151.3 kB / 3.759 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002686/9.829, allocations: 99.52 kB / 3.759 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/9.829, allocations: 11.66 kB / 3.759 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008649/9.83, allocations: 1.157 MB / 3.76 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/9.83, allocations: 0 / 3.76 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/9.833, allocations: 1.861 MB / 3.762 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/9.833, allocations: 356.4 kB / 3.762 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/9.833, allocations: 3.188 kB / 3.762 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/9.834, allocations: 56.23 kB / 3.762 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/9.834, allocations: 61.22 kB / 3.762 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/9.834, allocations: 23.23 kB / 3.763 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005792/9.834, allocations: 490.3 kB / 3.763 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/9.834, allocations: 0 / 3.763 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00593/9.84, allocations: 1.363 MB / 3.764 GB, free: 21.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 17 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.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 (58): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01259/9.853, allocations: 4.135 MB / 3.768 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002182/9.855, allocations: 1.085 MB / 3.769 GB, free: 16.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/9.855, allocations: 4 kB / 3.769 GB, free: 16.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007896/9.856, allocations: 0.5842 MB / 3.77 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/9.858, allocations: 263.9 kB / 3.77 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006696/9.864, allocations: 2.184 MB / 3.772 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007266/9.865, allocations: 1.114 MB / 3.773 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001282/9.866, allocations: 0.7101 MB / 3.774 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005/9.867, allocations: 417.8 kB / 3.775 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.123e-06/9.867, allocations: 0 / 3.775 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4347/10.3, allocations: 49.48 MB / 3.823 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/10.3, allocations: 195.6 kB / 3.823 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.9/14.2, allocations: 0 / 3.823 GB, free: 89.47 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat