Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01042/0.01042, allocations: 166.3 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.658/1.658, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001924/0.001923, allocations: 106.2 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4344/0.4344, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004719, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 48.7 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.712/7.821, allocations: 2.485 GB / 2.887 GB, free: 50.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/7.821, allocations: 88.27 kB / 2.887 GB, free: 50 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.291/10.11, allocations: 408.5 MB / 3.286 GB, free: 44.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.637e-06/10.11, allocations: 6.125 kB / 3.286 GB, free: 44.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.772e-05/10.11, allocations: 14.61 kB / 3.286 GB, free: 44.48 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.007562/10.12, allocations: 1.677 MB / 3.288 GB, free: 43.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/10.12, allocations: 12.97 kB / 3.288 GB, free: 43.85 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002277/10.12, allocations: 97.27 kB / 3.288 GB, free: 43.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00316/10.12, allocations: 284.8 kB / 3.288 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/10.13, allocations: 0.5386 MB / 3.289 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/10.13, allocations: 43.72 kB / 3.289 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/10.13, allocations: 54.59 kB / 3.289 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/10.13, allocations: 0.9615 MB / 3.29 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/10.13, allocations: 9.703 kB / 3.29 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/10.13, allocations: 26.02 kB / 3.29 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/10.13, allocations: 26.89 kB / 3.29 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00379/10.13, allocations: 0.8661 MB / 3.291 GB, free: 43.34 MB / 442.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.006446/10.14, allocations: 4.555 MB / 3.295 GB, free: 40.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/10.14, allocations: 0.7424 MB / 3.296 GB, free: 40.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.061/10.2, allocations: 21.32 MB / 3.317 GB, free: 26.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/10.2, allocations: 39.53 kB / 3.317 GB, free: 26.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.006e-06/10.2, allocations: 0 / 3.317 GB, free: 26.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01889/10.22, allocations: 3.271 MB / 3.32 GB, free: 26.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/10.22, allocations: 112.9 kB / 3.32 GB, free: 25.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000741/10.22, allocations: 372.7 kB / 3.32 GB, free: 25.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/10.22, allocations: 39.45 kB / 3.32 GB, free: 25.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/10.22, allocations: 331.4 kB / 3.321 GB, free: 25.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/10.22, allocations: 197.6 kB / 3.321 GB, free: 25.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/10.22, allocations: 16.16 kB / 3.321 GB, free: 25.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/10.22, allocations: 364.7 kB / 3.321 GB, free: 25.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/10.23, allocations: 305.9 kB / 3.322 GB, free: 25.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/10.23, allocations: 0.498 MB / 3.322 GB, free: 24.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/10.23, allocations: 357.3 kB / 3.322 GB, free: 24.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/10.23, allocations: 1.344 kB / 3.322 GB, free: 24.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005219/10.23, allocations: 1.139 MB / 3.324 GB, free: 24.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005059/10.23, allocations: 2.356 MB / 3.326 GB, free: 22.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/10.23, allocations: 9.469 kB / 3.326 GB, free: 22.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00407/10.24, allocations: 480.5 kB / 3.326 GB, free: 22.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009636/10.24, allocations: 144.8 kB / 3.326 GB, free: 22.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/10.24, allocations: 1.537 MB / 3.328 GB, free: 37.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/10.24, allocations: 85.08 kB / 3.328 GB, free: 37.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/10.24, allocations: 43.19 kB / 3.328 GB, free: 37.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/10.24, allocations: 3.844 kB / 3.328 GB, free: 37.34 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004919/10.25, allocations: 1.058 MB / 3.329 GB, free: 37.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/10.25, allocations: 8.375 kB / 3.329 GB, free: 37.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003824/10.25, allocations: 448.4 kB / 3.33 GB, free: 37.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/10.25, allocations: 144.6 kB / 3.33 GB, free: 37.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/10.26, allocations: 1.504 MB / 3.331 GB, free: 36.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/10.26, allocations: 85.41 kB / 3.331 GB, free: 36.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/10.26, allocations: 39.3 kB / 3.331 GB, free: 36.24 MB / 458.7 MB 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 (63): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006524/10.26, allocations: 297.7 kB / 3.332 GB, free: 36.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/10.26, allocations: 57.34 kB / 3.332 GB, free: 36.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007597/10.27, allocations: 3.417 MB / 3.335 GB, free: 35.65 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.335e-05/10.27, allocations: 41.97 kB / 3.335 GB, free: 35.65 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/10.27, allocations: 0 / 3.335 GB, free: 35.65 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/10.27, allocations: 7.703 kB / 3.335 GB, free: 35.65 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/10.28, allocations: 4.653 MB / 3.34 GB, free: 35.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/10.28, allocations: 0 / 3.34 GB, free: 35.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/10.28, allocations: 107.2 kB / 3.34 GB, free: 35.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004167/10.28, allocations: 0.9257 MB / 3.341 GB, free: 35.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.249e-05/10.28, allocations: 17.36 kB / 3.341 GB, free: 35.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003119/10.29, allocations: 1.946 MB / 3.342 GB, free: 34.03 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/10.29, allocations: 4.75 kB / 3.342 GB, free: 34.03 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/10.29, allocations: 2.193 MB / 3.345 GB, free: 33.69 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006198/10.29, allocations: 317.9 kB / 3.345 GB, free: 33.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/10.29, allocations: 11.31 kB / 3.345 GB, free: 33.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009933/10.29, allocations: 91.58 kB / 3.345 GB, free: 33.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/10.29, allocations: 57.12 kB / 3.345 GB, free: 33.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-05/10.29, allocations: 28.34 kB / 3.345 GB, free: 33.49 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006734/10.29, allocations: 389.8 kB / 3.345 GB, free: 33.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.71e-07/10.29, allocations: 0 / 3.345 GB, free: 33.39 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007017/10.3, allocations: 1.394 MB / 3.347 GB, free: 33.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$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 (48): * Single equations (assignments): 36 * 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 {2 8,2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01595/10.32, allocations: 4.31 MB / 3.351 GB, free: 32.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006697/10.32, allocations: 1.767 MB / 3.353 GB, free: 31.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/10.32, allocations: 3.875 kB / 3.353 GB, free: 31.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/10.33, allocations: 0.9776 MB / 3.354 GB, free: 31.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/10.33, allocations: 279.9 kB / 3.354 GB, free: 31.97 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2733/10.6, allocations: 84 MB / 3.436 GB, free: 6.992 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000923/10.6, allocations: 1.167 MB / 3.437 GB, free: 5.969 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001942/10.61, allocations: 0.6554 MB / 3.438 GB, free: 5.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008351/10.61, allocations: 407 kB / 3.438 GB, free: 5.23 MB / 458.7 MB Notification: Performance of SimCode: time 1.323e-06/10.61, allocations: 0 / 3.438 GB, free: 5.23 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5067/11.11, allocations: 56.44 MB / 3.493 GB, free: 52.03 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/11.11, allocations: 274.7 kB / 3.494 GB, free: 51.67 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.218/16.33, allocations: 7.719 kB / 3.494 GB, free: 51.67 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat