Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7341/0.7341, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.3 MB / 400.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008812/0.0008809, allocations: 95.81 kB / 483.3 MB, free: 5.805 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.021e-05, allocations: 3.25 kB / 0.5601 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1724, allocations: 82.32 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.423, allocations: 381.6 MB / 1.013 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.423, allocations: 88.45 kB / 1.013 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.698/10.12, allocations: 2.323 GB / 3.336 GB, free: 68.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.864e-06/10.12, allocations: 4 kB / 3.336 GB, free: 68.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001458/10.12, allocations: 262.1 kB / 3.336 GB, free: 68.71 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.02663/10.15, allocations: 7.372 MB / 3.344 GB, free: 61.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/10.15, allocations: 12.03 kB / 3.344 GB, free: 61.26 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003402/10.15, allocations: 0.7602 MB / 3.344 GB, free: 60.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007801/10.16, allocations: 1.244 MB / 3.346 GB, free: 59.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03206/10.19, allocations: 12.8 MB / 3.358 GB, free: 46.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005495/10.19, allocations: 439 kB / 3.359 GB, free: 45.99 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003309/10.2, allocations: 0.5858 MB / 3.359 GB, free: 45.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02865/10.23, allocations: 13.46 MB / 3.372 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000427/10.23, allocations: 19.86 kB / 3.372 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002844/10.23, allocations: 244 kB / 3.373 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/10.23, allocations: 139.8 kB / 3.373 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02725/10.26, allocations: 18.07 MB / 3.39 GB, free: 13.21 MB / 0.7292 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 1.123/11.38, allocations: 55.41 MB / 3.444 GB, free: 65.95 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0127/11.39, allocations: 8.699 MB / 3.453 GB, free: 65.84 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0125/11.4, allocations: 9.261 MB / 3.462 GB, free: 65.59 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05982/11.46, allocations: 26.3 MB / 3.488 GB, free: 58.55 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01261/11.48, allocations: 7.314 MB / 3.495 GB, free: 58.44 MB / 0.7293 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0517/11.53, allocations: 21.18 MB / 3.515 GB, free: 57.4 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=301): time 3.563e-05/11.53, allocations: 0 / 3.515 GB, free: 57.4 MB / 0.7293 GB Notification: Performance of matching and sorting (n=301): time 0.03267/11.56, allocations: 14.49 MB / 3.53 GB, free: 56.77 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/11.56, allocations: 84.86 kB / 3.53 GB, free: 56.71 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01646/11.58, allocations: 7.514 MB / 3.537 GB, free: 56.22 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 0.002493/11.58, allocations: 100.2 kB / 3.537 GB, free: 56.19 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.005165/11.59, allocations: 4.049 MB / 3.541 GB, free: 55.32 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 0.003257/11.59, allocations: 1.086 MB / 3.542 GB, free: 54.79 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002146/11.59, allocations: 90.06 kB / 3.542 GB, free: 54.79 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 0.0004635/11.59, allocations: 490.7 kB / 3.543 GB, free: 54.48 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009906/11.6, allocations: 6.075 MB / 3.549 GB, free: 54.46 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/11.61, allocations: 7.885 MB / 3.556 GB, free: 52.21 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/11.62, allocations: 6.992 MB / 3.563 GB, free: 51.79 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-05/11.62, allocations: 18.22 kB / 3.563 GB, free: 51.79 MB / 0.7293 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03648/11.66, allocations: 16.36 MB / 3.579 GB, free: 45.95 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 0.006531/11.67, allocations: 25.42 MB / 3.604 GB, free: 34.95 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/11.67, allocations: 49.59 kB / 3.604 GB, free: 34.95 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06488/11.73, allocations: 10.89 MB / 3.615 GB, free: 33.89 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009061/11.74, allocations: 1.599 MB / 3.616 GB, free: 33.85 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009177/11.75, allocations: 6.317 MB / 3.622 GB, free: 30.12 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01331/11.76, allocations: 0.5958 MB / 3.623 GB, free: 29.97 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00308/11.77, allocations: 0.5399 MB / 3.623 GB, free: 29.94 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/11.77, allocations: 3.406 kB / 3.623 GB, free: 29.94 MB / 0.7449 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03124/11.8, allocations: 15.71 MB / 3.639 GB, free: 23.73 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002002/11.8, allocations: 48.25 kB / 3.639 GB, free: 23.68 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06356/11.86, allocations: 10.62 MB / 3.649 GB, free: 15.99 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009117/11.87, allocations: 1.6 MB / 3.651 GB, free: 15 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/11.89, allocations: 10.2 MB / 3.661 GB, free: 5.73 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01326/11.9, allocations: 0.5659 MB / 3.661 GB, free: 5.316 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003349/11.9, allocations: 0.5416 MB / 3.662 GB, free: 4.992 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.004835/11.91, allocations: 400.3 kB / 3.662 GB, free: 4.691 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004948/11.91, allocations: 0.764 MB / 3.663 GB, free: 3.918 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04625/11.96, allocations: 14.32 MB / 3.677 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-05/11.96, allocations: 36 kB / 3.677 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/11.96, allocations: 4 kB / 3.677 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01818/11.98, allocations: 10.04 MB / 3.687 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7005/12.68, allocations: 23.75 MB / 3.71 GB, free: 108 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/12.68, allocations: 7.031 kB / 3.71 GB, free: 108 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005139/12.68, allocations: 0.6956 MB / 3.711 GB, free: 108 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06813/12.75, allocations: 9.932 MB / 3.72 GB, free: 108 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001691/12.75, allocations: 100.9 kB / 3.72 GB, free: 108 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004752/12.76, allocations: 4.298 MB / 3.725 GB, free: 105.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/12.76, allocations: 7.516 kB / 3.725 GB, free: 105.2 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02781/12.78, allocations: 18.23 MB / 3.742 GB, free: 104.6 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008445/12.79, allocations: 2.007 MB / 3.744 GB, free: 104.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003948/12.8, allocations: 73.34 kB / 3.745 GB, free: 104.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009995/12.81, allocations: 424.1 kB / 3.745 GB, free: 104.1 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0014/12.81, allocations: 215.5 kB / 3.745 GB, free: 104.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001323/12.81, allocations: 161.8 kB / 3.745 GB, free: 104.1 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01389/12.82, allocations: 5.823 MB / 3.751 GB, free: 103.8 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.71e-07/12.82, allocations: 0 / 3.751 GB, free: 103.8 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.03162/12.86, allocations: 4.937 MB / 3.756 GB, free: 103.6 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.03829/12.89, allocations: 19.82 MB / 3.775 GB, free: 102.1 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.04185/12.94, allocations: 23.51 MB / 3.798 GB, free: 101.2 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/12.94, allocations: 3.75 kB / 3.798 GB, free: 101.2 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01004/12.95, allocations: 6.088 MB / 3.804 GB, free: 101.1 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0262/12.97, allocations: 4.61 MB / 3.809 GB, free: 101.1 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05178/13.02, allocations: 19.66 MB / 3.828 GB, free: 96.89 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008422/13.03, allocations: 5.426 MB / 3.833 GB, free: 95.33 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.03288/13.07, allocations: 7.974 MB / 3.841 GB, free: 94.14 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01338/13.08, allocations: 3.705 MB / 3.844 GB, free: 91.39 MB / 0.7605 GB Notification: Performance of SimCode: time 1.393e-06/13.08, allocations: 0 / 3.844 GB, free: 91.39 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.024/14.1, allocations: 301.1 MB / 4.139 GB, free: 62.29 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/14.1, allocations: 215.5 kB / 4.139 GB, free: 62.05 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/27.03, allocations: 0 / 4.139 GB, free: 62.05 MB / 0.7605 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example1v2.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)