Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v2,fileNamePrefix="IDEAS_dev_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.001118/0.001118, 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.6697/0.6697, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.264/1.264, allocations: 221.3 MB / 400.4 MB, free: 5.875 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.0008382/0.0008382, allocations: 91.89 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.386e-05/2.416e-05, allocations: 3.062 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 82.3 MB / 0.6405 GB, free: 7.762 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8787/0.9882, allocations: 381.6 MB / 1.013 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.9884, allocations: 99.55 kB / 1.013 GB, free: 239.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.897/8.885, allocations: 2.323 GB / 3.336 GB, free: 75.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.825e-06/8.885, allocations: 0 / 3.336 GB, free: 75.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001941/8.887, allocations: 269.1 kB / 3.336 GB, free: 75.6 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.0298/8.917, allocations: 7.362 MB / 3.344 GB, free: 70.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/8.917, allocations: 16.31 kB / 3.344 GB, free: 70.85 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003693/8.921, allocations: 0.7598 MB / 3.344 GB, free: 70.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008787/8.93, allocations: 1.234 MB / 3.346 GB, free: 69.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03507/8.965, allocations: 12.8 MB / 3.358 GB, free: 58.78 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006478/8.966, allocations: 439.1 kB / 3.359 GB, free: 58.35 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00345/8.969, allocations: 0.5819 MB / 3.359 GB, free: 57.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0349/9.004, allocations: 13.46 MB / 3.372 GB, free: 44.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005141/9.005, allocations: 27.77 kB / 3.372 GB, free: 44.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003505/9.008, allocations: 240 kB / 3.373 GB, free: 43.79 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/9.008, allocations: 136 kB / 3.373 GB, free: 43.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02867/9.037, allocations: 18.07 MB / 3.39 GB, free: 25.57 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 0.6924/9.729, allocations: 55.4 MB / 3.444 GB, free: 67.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/9.746, allocations: 8.701 MB / 3.453 GB, free: 67.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01203/9.758, allocations: 9.263 MB / 3.462 GB, free: 67.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04916/9.807, allocations: 26.3 MB / 3.488 GB, free: 60.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01016/9.817, allocations: 7.309 MB / 3.495 GB, free: 60.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04973/9.867, allocations: 21.17 MB / 3.515 GB, free: 59.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=301): time 3.633e-05/9.867, allocations: 0 / 3.515 GB, free: 59.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=301): time 0.03019/9.897, allocations: 14.5 MB / 3.53 GB, free: 58.81 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/9.897, allocations: 89.27 kB / 3.53 GB, free: 58.74 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01714/9.915, allocations: 7.507 MB / 3.537 GB, free: 58.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.002833/9.917, allocations: 106.1 kB / 3.537 GB, free: 58.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.005025/9.923, allocations: 4.044 MB / 3.541 GB, free: 57.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003114/9.926, allocations: 1.089 MB / 3.542 GB, free: 56.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001922/9.928, allocations: 89.22 kB / 3.542 GB, free: 56.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000404/9.928, allocations: 494.1 kB / 3.543 GB, free: 56.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008915/9.937, allocations: 6.077 MB / 3.549 GB, free: 56.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00995/9.947, allocations: 7.88 MB / 3.556 GB, free: 54.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/9.957, allocations: 6.996 MB / 3.563 GB, free: 54.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.718e-05/9.957, allocations: 18.03 kB / 3.563 GB, free: 54.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03189/9.989, allocations: 16.36 MB / 3.579 GB, free: 50.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00747/9.997, allocations: 25.42 MB / 3.604 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/9.997, allocations: 48.5 kB / 3.604 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06206/10.06, allocations: 10.89 MB / 3.615 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008264/10.07, allocations: 1.6 MB / 3.616 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008642/10.08, allocations: 6.315 MB / 3.622 GB, free: 34.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01174/10.09, allocations: 0.5966 MB / 3.623 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002427/10.09, allocations: 0.5399 MB / 3.623 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/10.09, allocations: 3.562 kB / 3.623 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02922/10.12, allocations: 15.71 MB / 3.639 GB, free: 28.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002188/10.12, allocations: 49.25 kB / 3.639 GB, free: 28.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06462/10.18, allocations: 10.62 MB / 3.649 GB, free: 26.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008971/10.19, allocations: 1.593 MB / 3.651 GB, free: 25.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/10.21, allocations: 10.19 MB / 3.661 GB, free: 16.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0129/10.22, allocations: 0.5709 MB / 3.661 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003028/10.22, allocations: 0.5339 MB / 3.662 GB, free: 15.56 MB / 0.7448 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.00493/10.23, allocations: 405.6 kB / 3.662 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004943/10.23, allocations: 0.7661 MB / 3.663 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03033/10.26, allocations: 13.47 MB / 3.676 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.432e-05/10.26, allocations: 35.52 kB / 3.676 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/10.26, allocations: 4 kB / 3.676 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02337/10.29, allocations: 10.36 MB / 3.686 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6316/10.92, allocations: 23.76 MB / 3.709 GB, free: 109.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/10.92, allocations: 0.6094 kB / 3.709 GB, free: 109.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005925/10.92, allocations: 0.7007 MB / 3.71 GB, free: 109.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0672/10.99, allocations: 9.931 MB / 3.72 GB, free: 109.7 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001521/10.99, allocations: 107.5 kB / 3.72 GB, free: 109.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006078/11, allocations: 4.296 MB / 3.724 GB, free: 106.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/11, allocations: 1.453 kB / 3.724 GB, free: 106.9 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03499/11.03, allocations: 18.23 MB / 3.742 GB, free: 106.4 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007948/11.04, allocations: 2.005 MB / 3.744 GB, free: 106 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003843/11.05, allocations: 75.31 kB / 3.744 GB, free: 106 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01025/11.06, allocations: 415.5 kB / 3.744 GB, free: 106 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001494/11.06, allocations: 216.8 kB / 3.745 GB, free: 106 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001394/11.06, allocations: 159.5 kB / 3.745 GB, free: 106 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01255/11.07, allocations: 5.824 MB / 3.75 GB, free: 105.7 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.92e-07/11.07, allocations: 1.406 kB / 3.75 GB, free: 105.7 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.02568/11.1, allocations: 4.933 MB / 3.755 GB, free: 105.5 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.1386/11.24, allocations: 19.83 MB / 3.775 GB, free: 104 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.05496/11.29, allocations: 23.5 MB / 3.798 GB, free: 103.2 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/11.29, allocations: 3.25 kB / 3.798 GB, free: 103.2 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01289/11.3, allocations: 6.088 MB / 3.804 GB, free: 103 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03534/11.34, allocations: 4.61 MB / 3.808 GB, free: 103 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07422/11.41, allocations: 19.64 MB / 3.827 GB, free: 100.1 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008317/11.42, allocations: 5.429 MB / 3.833 GB, free: 99.07 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.04588/11.47, allocations: 7.969 MB / 3.84 GB, free: 97.88 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01351/11.48, allocations: 3.717 MB / 3.844 GB, free: 96.39 MB / 0.7605 GB Notification: Performance of SimCode: time 9.62e-07/11.48, allocations: 2.953 kB / 3.844 GB, free: 96.39 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.119/12.6, allocations: 301.1 MB / 4.138 GB, free: 86.77 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/12.6, allocations: 207.9 kB / 4.138 GB, free: 86.55 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/24.77, allocations: 4 kB / 4.138 GB, free: 86.55 MB / 0.7605 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v2.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)