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.00804/0.00804, allocations: 169.3 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7632/0.7632, allocations: 135.2 MB / 151 MB, free: 13.83 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.514/1.514, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 98.73 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.517/0.5174, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.908/1.426, allocations: 381.7 MB / 1.022 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.426, allocations: 101.9 kB / 1.022 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.684/11.11, allocations: 2.331 GB / 3.353 GB, free: 67.89 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.025e-06/11.11, allocations: 0 / 3.353 GB, free: 67.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001792/11.11, allocations: 263 kB / 3.354 GB, free: 67.84 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.04184/11.15, allocations: 9.592 MB / 3.363 GB, free: 64.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/11.15, allocations: 10.97 kB / 3.363 GB, free: 64.01 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004875/11.16, allocations: 0.763 MB / 3.364 GB, free: 63.94 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009809/11.17, allocations: 1.25 MB / 3.365 GB, free: 63.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03714/11.21, allocations: 12.87 MB / 3.378 GB, free: 61.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005719/11.21, allocations: 446.4 kB / 3.378 GB, free: 61.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003199/11.21, allocations: 0.5862 MB / 3.379 GB, free: 61.96 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03081/11.24, allocations: 13.63 MB / 3.392 GB, free: 61.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003284/11.24, allocations: 30.8 kB / 3.392 GB, free: 61.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00307/11.24, allocations: 242.1 kB / 3.392 GB, free: 61.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/11.24, allocations: 138 kB / 3.392 GB, free: 61.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02947/11.27, allocations: 18.34 MB / 3.41 GB, free: 58.16 MB / 0.7292 GB 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.103/11.38, allocations: 55.52 MB / 3.464 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.617/11.99, allocations: 8.84 MB / 3.473 GB, free: 76.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06224/12.06, allocations: 26.37 MB / 3.499 GB, free: 70.03 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01348/12.07, allocations: 7.409 MB / 3.506 GB, free: 69.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05161/12.12, allocations: 21.17 MB / 3.527 GB, free: 69.15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=301): time 4.955e-05/12.12, allocations: 0 / 3.527 GB, free: 69.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=301): time 0.05404/12.18, allocations: 22.54 MB / 3.549 GB, free: 68.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/12.18, allocations: 86.36 kB / 3.549 GB, free: 68.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01932/12.19, allocations: 7.596 MB / 3.556 GB, free: 67.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.002718/12.2, allocations: 97.14 kB / 3.556 GB, free: 67.87 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00614/12.2, allocations: 4.04 MB / 3.56 GB, free: 67.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00372/12.21, allocations: 1.082 MB / 3.561 GB, free: 66.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002336/12.21, allocations: 90.25 kB / 3.561 GB, free: 66.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0005326/12.21, allocations: 496.6 kB / 3.562 GB, free: 66.35 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01036/12.22, allocations: 6.188 MB / 3.568 GB, free: 66.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01287/12.23, allocations: 7.986 MB / 3.576 GB, free: 64.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/12.25, allocations: 7.09 MB / 3.583 GB, free: 63.93 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.365e-05/12.25, allocations: 12.47 kB / 3.583 GB, free: 63.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04/12.29, allocations: 16.59 MB / 3.599 GB, free: 63.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.008916/12.3, allocations: 25.42 MB / 3.624 GB, free: 36.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/12.3, allocations: 47.62 kB / 3.624 GB, free: 36.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06539/12.36, allocations: 10.88 MB / 3.634 GB, free: 35.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009605/12.37, allocations: 1.604 MB / 3.636 GB, free: 35.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009313/12.38, allocations: 6.361 MB / 3.642 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01429/12.39, allocations: 0.5963 MB / 3.643 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003465/12.4, allocations: 0.5451 MB / 3.643 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/12.4, allocations: 4.875 kB / 3.643 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03721/12.43, allocations: 15.92 MB / 3.659 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003299/12.44, allocations: 48.41 kB / 3.659 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06717/12.5, allocations: 10.62 MB / 3.669 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009408/12.51, allocations: 1.6 MB / 3.671 GB, free: 31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/12.53, allocations: 10.36 MB / 3.681 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01411/12.54, allocations: 0.5716 MB / 3.681 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004186/12.55, allocations: 0.5352 MB / 3.682 GB, free: 40.29 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 () * Number of clocked 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.01182/12.56, allocations: 2.665 MB / 3.684 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005623/12.56, allocations: 0.7617 MB / 3.685 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03365/12.6, allocations: 13.66 MB / 3.699 GB, free: 32.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.188e-05/12.6, allocations: 36 kB / 3.699 GB, free: 32.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/12.6, allocations: 4 kB / 3.699 GB, free: 32.44 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.018/12.62, allocations: 10.26 MB / 3.709 GB, free: 23.2 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05526/12.67, allocations: 23.97 MB / 3.732 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.361e-05/12.67, allocations: 11.14 kB / 3.732 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005762/12.68, allocations: 0.7009 MB / 3.733 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7106/13.39, allocations: 11.85 MB / 3.744 GB, free: 87.89 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001582/13.39, allocations: 102.1 kB / 3.744 GB, free: 87.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006198/13.39, allocations: 4.321 MB / 3.749 GB, free: 85.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/13.39, allocations: 3.469 kB / 3.749 GB, free: 85.11 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03304/13.43, allocations: 18.53 MB / 3.767 GB, free: 84.62 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009596/13.44, allocations: 2.003 MB / 3.769 GB, free: 84.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004359/13.44, allocations: 73.69 kB / 3.769 GB, free: 84.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009917/13.45, allocations: 421.9 kB / 3.769 GB, free: 84.47 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001537/13.45, allocations: 225.9 kB / 3.769 GB, free: 84.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008273/13.45, allocations: 155.7 kB / 3.77 GB, free: 84.46 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.01343/13.47, allocations: 5.901 MB / 3.775 GB, free: 84.21 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.393e-06/13.47, allocations: 1 kB / 3.775 GB, free: 84.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.02778/13.5, allocations: 4.937 MB / 3.78 GB, free: 84.01 MB / 0.7448 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) * Number of clocked states: 0 () * 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.03189/13.53, allocations: 20.13 MB / 3.8 GB, free: 82.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.04208/13.57, allocations: 23.58 MB / 3.823 GB, free: 81.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/13.57, allocations: 3.5 kB / 3.823 GB, free: 81.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.009921/13.58, allocations: 6.188 MB / 3.829 GB, free: 81.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02563/13.61, allocations: 4.604 MB / 3.833 GB, free: 81.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08625/13.69, allocations: 76.47 MB / 3.908 GB, free: 36.61 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01101/13.7, allocations: 5.407 MB / 3.913 GB, free: 35.75 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.02596/13.73, allocations: 5.081 MB / 3.918 GB, free: 34.98 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01798/13.75, allocations: 3.852 MB / 3.922 GB, free: 34.98 MB / 0.7605 GB Notification: Performance of SimCode: time 1.734e-06/13.75, allocations: 0 / 3.922 GB, free: 34.98 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.197/14.94, allocations: 293.7 MB / 4.209 GB, free: 56.96 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/14.94, allocations: 235.6 kB / 4.209 GB, free: 56.71 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/27.16, allocations: 10.89 kB / 4.209 GB, free: 56.7 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)