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.01452/0.01452, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.188/1.188, allocations: 135.2 MB / 151 MB, free: 13.87 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.97/2.97, allocations: 223.2 MB / 406.8 MB, free: 3.258 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.001704/0.001704, allocations: 88.28 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001502, allocations: 8 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.706/2.721, allocations: 381.7 MB / 1.022 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005704/2.722, allocations: 96.77 kB / 1.022 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 16.94/19.66, allocations: 2.331 GB / 3.353 GB, free: 67.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.772e-06/19.66, allocations: 0 / 3.353 GB, free: 67.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.003187/19.67, allocations: 271.7 kB / 3.354 GB, free: 67.65 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.07137/19.74, allocations: 9.592 MB / 3.363 GB, free: 63.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001036/19.74, allocations: 10.78 kB / 3.363 GB, free: 63.81 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008837/19.75, allocations: 0.772 MB / 3.364 GB, free: 63.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01847/19.76, allocations: 1.247 MB / 3.365 GB, free: 63.22 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06238/19.83, allocations: 12.87 MB / 3.378 GB, free: 61.76 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001385/19.83, allocations: 438.8 kB / 3.378 GB, free: 61.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005474/19.83, allocations: 0.5835 MB / 3.379 GB, free: 61.74 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05649/19.89, allocations: 13.64 MB / 3.392 GB, free: 60.86 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008082/19.89, allocations: 20.69 kB / 3.392 GB, free: 60.85 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006555/19.9, allocations: 244.1 kB / 3.392 GB, free: 60.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003916/19.9, allocations: 138 kB / 3.392 GB, free: 60.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05711/19.96, allocations: 18.34 MB / 3.41 GB, free: 58 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.1754/20.13, allocations: 55.52 MB / 3.464 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9522/21.08, allocations: 8.849 MB / 3.473 GB, free: 76.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05347/21.14, allocations: 26.36 MB / 3.499 GB, free: 69.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01072/21.15, allocations: 7.407 MB / 3.506 GB, free: 69.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05006/21.2, allocations: 21.18 MB / 3.527 GB, free: 69.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=301): time 4.129e-05/21.2, allocations: 0 / 3.527 GB, free: 69.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=301): time 0.05744/21.26, allocations: 22.54 MB / 3.549 GB, free: 68.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/21.26, allocations: 86.67 kB / 3.549 GB, free: 68.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01421/21.27, allocations: 7.587 MB / 3.556 GB, free: 67.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.002776/21.27, allocations: 100.8 kB / 3.556 GB, free: 67.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.004414/21.28, allocations: 4.037 MB / 3.56 GB, free: 67.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003662/21.28, allocations: 1.085 MB / 3.561 GB, free: 66.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/21.28, allocations: 94.22 kB / 3.561 GB, free: 66.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.00038/21.28, allocations: 496.1 kB / 3.562 GB, free: 66.22 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009385/21.29, allocations: 6.183 MB / 3.568 GB, free: 66.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01206/21.3, allocations: 7.993 MB / 3.576 GB, free: 63.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/21.32, allocations: 7.092 MB / 3.583 GB, free: 63.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/21.32, allocations: 14.25 kB / 3.583 GB, free: 63.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03541/21.35, allocations: 16.57 MB / 3.599 GB, free: 63.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.005713/21.36, allocations: 25.42 MB / 3.624 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/21.36, allocations: 46.47 kB / 3.624 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06483/21.42, allocations: 10.89 MB / 3.634 GB, free: 35.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009344/21.43, allocations: 1.607 MB / 3.636 GB, free: 35.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008579/21.44, allocations: 6.353 MB / 3.642 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01429/21.46, allocations: 0.6053 MB / 3.643 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003535/21.46, allocations: 0.5455 MB / 3.643 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/21.46, allocations: 5.531 kB / 3.643 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03211/21.49, allocations: 15.92 MB / 3.659 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001887/21.49, allocations: 48.38 kB / 3.659 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06249/21.55, allocations: 10.62 MB / 3.669 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009115/21.56, allocations: 1.594 MB / 3.671 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/21.58, allocations: 10.36 MB / 3.681 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01298/21.59, allocations: 0.5738 MB / 3.681 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003316/21.59, allocations: 0.5332 MB / 3.682 GB, free: 40.23 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.01002/21.6, allocations: 2.661 MB / 3.684 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004302/21.61, allocations: 0.7614 MB / 3.685 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03064/21.64, allocations: 13.67 MB / 3.699 GB, free: 32.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/21.64, allocations: 35.84 kB / 3.699 GB, free: 32.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/21.64, allocations: 3.953 kB / 3.699 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01388/21.65, allocations: 10.24 MB / 3.709 GB, free: 23.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04608/21.7, allocations: 24 MB / 3.732 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/21.7, allocations: 0 / 3.732 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005561/21.7, allocations: 0.6908 MB / 3.733 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7217/22.43, allocations: 11.77 MB / 3.744 GB, free: 87.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001597/22.43, allocations: 102.9 kB / 3.744 GB, free: 87.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005773/22.43, allocations: 4.32 MB / 3.749 GB, free: 84.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/22.43, allocations: 0.6875 kB / 3.749 GB, free: 84.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0316/22.47, allocations: 18.53 MB / 3.767 GB, free: 84.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009938/22.48, allocations: 2.005 MB / 3.769 GB, free: 84.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004498/22.48, allocations: 75.58 kB / 3.769 GB, free: 84.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009784/22.49, allocations: 422.2 kB / 3.769 GB, free: 84.11 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001255/22.49, allocations: 214.8 kB / 3.769 GB, free: 84.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008349/22.49, allocations: 159.7 kB / 3.769 GB, free: 84.11 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.01499/22.51, allocations: 5.9 MB / 3.775 GB, free: 83.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.31e-07/22.51, allocations: 1.906 kB / 3.775 GB, free: 83.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.02935/22.54, allocations: 4.938 MB / 3.78 GB, free: 83.66 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.03236/22.57, allocations: 20.12 MB / 3.8 GB, free: 82.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.04027/22.61, allocations: 23.58 MB / 3.823 GB, free: 81.34 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/22.61, allocations: 7.906 kB / 3.823 GB, free: 81.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.009777/22.62, allocations: 6.189 MB / 3.829 GB, free: 81.19 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02574/22.64, allocations: 4.605 MB / 3.833 GB, free: 81.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07816/22.72, allocations: 76.48 MB / 3.908 GB, free: 36.26 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006166/22.73, allocations: 5.414 MB / 3.913 GB, free: 35.39 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.02289/22.75, allocations: 5.068 MB / 3.918 GB, free: 34.65 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01101/22.76, allocations: 3.859 MB / 3.922 GB, free: 34.64 MB / 0.7605 GB Notification: Performance of SimCode: time 1.332e-06/22.76, allocations: 2.156 kB / 3.922 GB, free: 34.64 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.065/23.83, allocations: 293.7 MB / 4.209 GB, free: 56.81 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/23.83, allocations: 236 kB / 4.209 GB, free: 56.57 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/36.56, allocations: 4.062 kB / 4.209 GB, free: 56.57 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)