Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",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.01054/0.01054, allocations: 174.3 kB / 15.12 MB, free: 6 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.893/1.893, allocations: 194.5 MB / 210.3 MB, free: 11.33 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.00201/0.00201, allocations: 116.6 kB / 255.6 MB, free: 14.48 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.4344/0.4344, allocations: 40 MB / 340.8 MB, free: 14.99 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004859, allocations: 16 kB / 406.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3587, allocations: 54.86 MB / 461.2 MB, free: 24.68 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.713/8.072, allocations: 2.613 GB / 3.063 GB, free: 82.04 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/8.072, allocations: 87.33 kB / 3.063 GB, free: 82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.18/10.25, allocations: 438.1 MB / 3.491 GB, free: 34.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.013e-06/10.25, allocations: 3.938 kB / 3.491 GB, free: 34.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.36e-05/10.25, allocations: 22.66 kB / 3.491 GB, free: 34.46 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.008121/10.26, allocations: 1.826 MB / 3.493 GB, free: 32.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/10.26, allocations: 8.031 kB / 3.493 GB, free: 32.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002626/10.26, allocations: 102.5 kB / 3.493 GB, free: 32.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/10.26, allocations: 327.6 kB / 3.493 GB, free: 32.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/10.27, allocations: 0.5886 MB / 3.494 GB, free: 31.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.231e-05/10.27, allocations: 49.31 kB / 3.494 GB, free: 31.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/10.27, allocations: 63.91 kB / 3.494 GB, free: 31.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/10.27, allocations: 0.9959 MB / 3.495 GB, free: 30.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/10.27, allocations: 4 kB / 3.495 GB, free: 30.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/10.27, allocations: 24 kB / 3.495 GB, free: 30.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.093e-05/10.27, allocations: 28.94 kB / 3.495 GB, free: 30.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003982/10.27, allocations: 0.9014 MB / 3.496 GB, free: 29.41 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.006165/10.28, allocations: 4.457 MB / 3.5 GB, free: 24.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/10.28, allocations: 0.7912 MB / 3.501 GB, free: 23.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6526/10.94, allocations: 82.82 MB / 3.582 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/10.94, allocations: 41.38 kB / 3.582 GB, free: 36.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.096e-06/10.94, allocations: 0 / 3.582 GB, free: 36.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.01054/10.95, allocations: 2.232 MB / 3.584 GB, free: 35.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/10.95, allocations: 110.8 kB / 3.584 GB, free: 35.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007935/10.95, allocations: 421.4 kB / 3.585 GB, free: 35.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/10.95, allocations: 41.36 kB / 3.585 GB, free: 35.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/10.95, allocations: 344.9 kB / 3.585 GB, free: 35.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/10.95, allocations: 176.7 kB / 3.585 GB, free: 35.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/10.95, allocations: 11.59 kB / 3.585 GB, free: 35.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001924/10.95, allocations: 366.6 kB / 3.585 GB, free: 34.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/10.95, allocations: 273.4 kB / 3.586 GB, free: 34.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/10.95, allocations: 461.7 kB / 3.586 GB, free: 34.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/10.95, allocations: 319.6 kB / 3.586 GB, free: 34.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/10.95, allocations: 3.969 kB / 3.586 GB, free: 34.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004065/10.96, allocations: 0.9843 MB / 3.587 GB, free: 34.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009598/10.96, allocations: 2.185 MB / 3.59 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/10.96, allocations: 3.781 kB / 3.59 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003524/10.96, allocations: 425.2 kB / 3.59 GB, free: 32.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009907/10.96, allocations: 144 kB / 3.59 GB, free: 32.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/10.97, allocations: 0.9072 MB / 3.591 GB, free: 31.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/10.97, allocations: 90.41 kB / 3.591 GB, free: 31.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/10.97, allocations: 39.2 kB / 3.591 GB, free: 31.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/10.97, allocations: 3.906 kB / 3.591 GB, free: 31.7 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004478/10.97, allocations: 0.9512 MB / 3.592 GB, free: 31.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/10.97, allocations: 5.969 kB / 3.592 GB, free: 31.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/10.97, allocations: 340.4 kB / 3.592 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/10.98, allocations: 148.1 kB / 3.593 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/10.98, allocations: 0.8756 MB / 3.593 GB, free: 31.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/10.98, allocations: 94.7 kB / 3.593 GB, free: 31.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/10.98, allocations: 32.03 kB / 3.594 GB, free: 31.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (61): * Single equations (assignments): 60 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.000605/10.98, allocations: 297.6 kB / 3.594 GB, free: 30.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/10.98, allocations: 58.38 kB / 3.594 GB, free: 30.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005425/10.98, allocations: 2.904 MB / 3.597 GB, free: 30.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.235e-05/10.98, allocations: 40.94 kB / 3.597 GB, free: 30.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/10.98, allocations: 0 / 3.597 GB, free: 30.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/10.98, allocations: 7.031 kB / 3.597 GB, free: 30.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008958/10.99, allocations: 4.047 MB / 3.601 GB, free: 30.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/10.99, allocations: 0 / 3.601 GB, free: 30.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/11, allocations: 169 kB / 3.601 GB, free: 30.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008777/11, allocations: 80.23 kB / 3.601 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/11, allocations: 17.72 kB / 3.601 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/11, allocations: 1.182 MB / 3.602 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/11, allocations: 0 / 3.602 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00584/11, allocations: 2.568 MB / 3.605 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007866/11, allocations: 323 kB / 3.605 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/11, allocations: 11.22 kB / 3.605 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/11.01, allocations: 72 kB / 3.605 GB, free: 28.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/11.01, allocations: 53.81 kB / 3.605 GB, free: 28.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/11.01, allocations: 24.86 kB / 3.605 GB, free: 28.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007513/11.01, allocations: 396.5 kB / 3.605 GB, free: 28.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.31e-07/11.01, allocations: 0 / 3.605 GB, free: 28.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006996/11.01, allocations: 1.402 MB / 3.607 GB, free: 28.46 MB / 0.4948 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: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.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 (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01721/11.03, allocations: 4.754 MB / 3.611 GB, free: 27.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005189/11.04, allocations: 1.509 MB / 3.613 GB, free: 27.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/11.04, allocations: 0 / 3.613 GB, free: 27.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/11.04, allocations: 0.8578 MB / 3.614 GB, free: 27.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/11.04, allocations: 284.9 kB / 3.614 GB, free: 27.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2869/11.33, allocations: 83.06 MB / 3.695 GB, free: 420 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/11.33, allocations: 1.164 MB / 3.696 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001941/11.33, allocations: 0.6471 MB / 3.697 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007647/11.33, allocations: 451 kB / 3.697 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/11.33, allocations: 0 / 3.697 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6668/12, allocations: 54.79 MB / 3.751 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/12, allocations: 284.6 kB / 3.751 GB, free: 68.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.507/17.51, allocations: 0 / 3.751 GB, free: 68.14 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat