Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01068/0.01068, allocations: 175.5 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.942/1.942, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001973/0.001973, allocations: 124.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3357/0.3357, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006507/0.0006507, allocations: 18.41 kB / 406.3 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1245, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.805/7.929, allocations: 2.613 GB / 3.063 GB, free: 53.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/7.93, allocations: 91.27 kB / 3.063 GB, free: 53.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.135/10.06, allocations: 438.2 MB / 3.491 GB, free: 7.633 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/10.06, allocations: 4 kB / 3.491 GB, free: 7.629 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.239e-05/10.06, allocations: 23.94 kB / 3.491 GB, free: 7.605 MB / 490.7 MB 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.007939/10.07, allocations: 1.82 MB / 3.493 GB, free: 5.742 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/10.07, allocations: 12.03 kB / 3.493 GB, free: 5.73 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002773/10.07, allocations: 98.52 kB / 3.493 GB, free: 5.625 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/10.08, allocations: 333.3 kB / 3.493 GB, free: 5.301 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/10.08, allocations: 0.5794 MB / 3.494 GB, free: 4.691 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-05/10.08, allocations: 53.31 kB / 3.494 GB, free: 4.641 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/10.08, allocations: 52 kB / 3.494 GB, free: 4.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/10.08, allocations: 0.9959 MB / 3.495 GB, free: 3.531 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/10.08, allocations: 7.938 kB / 3.495 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/10.08, allocations: 28 kB / 3.495 GB, free: 3.496 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/10.08, allocations: 21.31 kB / 3.495 GB, free: 3.473 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003847/10.09, allocations: 0.9026 MB / 3.496 GB, free: 2.57 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.3773/10.46, allocations: 4.33 MB / 3.5 GB, free: 49.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003572/10.47, allocations: 0.7558 MB / 3.501 GB, free: 49.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2852/10.75, allocations: 79 MB / 3.578 GB, free: 37.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/10.75, allocations: 44.7 kB / 3.578 GB, free: 37.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.276e-06/10.75, allocations: 0 / 3.578 GB, free: 37.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.01034/10.76, allocations: 2.284 MB / 3.58 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/10.76, allocations: 111.1 kB / 3.58 GB, free: 36.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/10.76, allocations: 431.7 kB / 3.581 GB, free: 36.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.664e-05/10.76, allocations: 36.52 kB / 3.581 GB, free: 36.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/10.76, allocations: 336.2 kB / 3.581 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/10.76, allocations: 183.5 kB / 3.581 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/10.76, allocations: 14.06 kB / 3.581 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001637/10.76, allocations: 363.7 kB / 3.582 GB, free: 36.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009886/10.77, allocations: 258.8 kB / 3.582 GB, free: 36.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/10.77, allocations: 465.5 kB / 3.582 GB, free: 35.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/10.77, allocations: 308.6 kB / 3.583 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/10.77, allocations: 3.469 kB / 3.583 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003796/10.77, allocations: 0.9915 MB / 3.584 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008618/10.77, allocations: 2.352 MB / 3.586 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/10.77, allocations: 3.906 kB / 3.586 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003328/10.78, allocations: 430.7 kB / 3.586 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009352/10.78, allocations: 139.7 kB / 3.586 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/10.78, allocations: 0.9346 MB / 3.587 GB, free: 32.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/10.78, allocations: 89.86 kB / 3.587 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.126e-05/10.78, allocations: 37.42 kB / 3.587 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/10.78, allocations: 3.625 kB / 3.587 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003355/10.78, allocations: 0.8654 MB / 3.588 GB, free: 32.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/10.78, allocations: 5.25 kB / 3.588 GB, free: 32.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/10.79, allocations: 316.1 kB / 3.589 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009829/10.79, allocations: 159.2 kB / 3.589 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/10.79, allocations: 0.8576 MB / 3.59 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/10.79, allocations: 86.89 kB / 3.59 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-05/10.79, allocations: 36.58 kB / 3.59 GB, free: 32.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0005884/10.79, allocations: 289.8 kB / 3.59 GB, free: 32.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/10.79, allocations: 65.23 kB / 3.59 GB, free: 32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/10.8, allocations: 2.741 MB / 3.593 GB, free: 31.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.337e-05/10.8, allocations: 34.48 kB / 3.593 GB, free: 31.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/10.8, allocations: 0 / 3.593 GB, free: 31.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/10.8, allocations: 3.891 kB / 3.593 GB, free: 31.71 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00658/10.8, allocations: 3.749 MB / 3.596 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/10.8, allocations: 3.625 kB / 3.596 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009868/10.8, allocations: 148 kB / 3.597 GB, free: 31.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006601/10.8, allocations: 100.5 kB / 3.597 GB, free: 31.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/10.8, allocations: 20.05 kB / 3.597 GB, free: 31.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/10.81, allocations: 1.135 MB / 3.598 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/10.81, allocations: 0 / 3.598 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004746/10.81, allocations: 2.273 MB / 3.6 GB, free: 29.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006815/10.81, allocations: 339.9 kB / 3.6 GB, free: 29.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/10.81, allocations: 10.59 kB / 3.6 GB, free: 29.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008521/10.81, allocations: 72.2 kB / 3.6 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/10.81, allocations: 46.33 kB / 3.6 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/10.81, allocations: 22.52 kB / 3.6 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008243/10.81, allocations: 461.4 kB / 3.601 GB, free: 29.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/10.81, allocations: 0 / 3.601 GB, free: 29.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007274/10.82, allocations: 1.403 MB / 3.602 GB, free: 29.65 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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01618/10.84, allocations: 4.449 MB / 3.607 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004748/10.84, allocations: 1.396 MB / 3.608 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/10.84, allocations: 4.391 kB / 3.608 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/10.84, allocations: 0.737 MB / 3.609 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/10.85, allocations: 294.9 kB / 3.609 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7542/11.6, allocations: 130.7 MB / 3.737 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/11.6, allocations: 1.156 MB / 3.738 GB, free: 72.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001939/11.6, allocations: 0.6191 MB / 3.738 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007396/11.6, allocations: 449.6 kB / 3.739 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.293e-06/11.6, allocations: 0 / 3.739 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1249/11.73, allocations: 54.29 MB / 3.792 GB, free: 70.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003009/11.73, allocations: 278.2 kB / 3.792 GB, free: 70.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.975/16.7, allocations: 7.375 kB / 3.792 GB, free: 70.4 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat