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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008534/0.0008533, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008196/0.0008197, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9231/0.9231, allocations: 135.3 MB / 426.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003198, allocations: 8 kB / 0.5071 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1713, allocations: 82.32 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.3643/0.5356, allocations: 74.2 MB / 0.6599 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02278/0.5585, allocations: 18.02 MB / 0.6775 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00362/0.5621, allocations: 91.88 kB / 0.6776 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003047/0.5652, allocations: 0.7804 MB / 0.6784 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007265/0.5725, allocations: 2.279 MB / 0.6806 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005678/0.5782, allocations: 1.791 MB / 0.6823 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.03127/0.6094, allocations: 30.24 MB / 0.7119 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01758/0.627, allocations: 13.48 MB / 0.725 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01928/0.6464, allocations: 9.204 MB / 0.734 GB, free: 6.367 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02075/0.6671, allocations: 10.75 MB / 0.7445 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00428/0.6715, allocations: 0.8125 MB / 0.7453 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009913/0.6814, allocations: 1.784 MB / 0.7471 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.006389/0.6878, allocations: 2.975 MB / 0.75 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005602/0.6934, allocations: 1.845 MB / 0.7518 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01627/0.7097, allocations: 13.97 MB / 0.7654 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.7098, allocations: 0 / 0.7654 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7098, allocations: 0 / 0.7654 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004408/0.7102, allocations: 0 / 0.7654 GB, free: 6.133 MB / 0.5762 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.02914/0.7394, allocations: 13.16 MB / 0.7783 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.7394, allocations: 12.02 kB / 0.7783 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002864/0.7423, allocations: 0.768 MB / 0.779 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/0.7478, allocations: 1.285 MB / 0.7803 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02181/0.7696, allocations: 9.746 MB / 0.7898 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003801/0.77, allocations: 440.1 kB / 0.7902 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002605/0.7726, allocations: 0.5858 MB / 0.7908 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.028/0.8006, allocations: 14.69 MB / 0.8051 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001805/0.8009, allocations: 23.84 kB / 0.8052 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001604/0.8025, allocations: 240 kB / 0.8054 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.366e-05/0.8026, allocations: 143.9 kB / 0.8055 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03305/0.8356, allocations: 19.88 MB / 0.8249 GB, free: 8.695 MB / 0.6387 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.709/1.545, allocations: 66.65 MB / 0.89 GB, free: 182.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/1.558, allocations: 9.328 MB / 0.8991 GB, free: 178.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01417/1.572, allocations: 8.677 MB / 0.9076 GB, free: 175 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06431/1.636, allocations: 31 MB / 0.9379 GB, free: 159.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01241/1.649, allocations: 7.746 MB / 0.9454 GB, free: 155 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02594/1.675, allocations: 11.76 MB / 0.9569 GB, free: 149.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=300): time 2.326e-05/1.675, allocations: 4 kB / 0.9569 GB, free: 149.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=300): time 0.04523/1.72, allocations: 24.44 MB / 0.9808 GB, free: 128.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/1.72, allocations: 85.77 kB / 0.9809 GB, free: 128.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/1.731, allocations: 8.238 MB / 0.9889 GB, free: 120.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002175/1.733, allocations: 105.2 kB / 0.989 GB, free: 120 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003204/1.736, allocations: 4.079 MB / 0.993 GB, free: 116 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002877/1.739, allocations: 1.081 MB / 0.9941 GB, free: 115 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006763/1.74, allocations: 92 kB / 0.9941 GB, free: 114.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.74, allocations: 491.8 kB / 0.9946 GB, free: 114.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007649/1.747, allocations: 6.547 MB / 1.001 GB, free: 107.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008529/1.756, allocations: 8.402 MB / 1.009 GB, free: 98.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008922/1.765, allocations: 7.442 MB / 1.016 GB, free: 91.13 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.119e-05/1.765, allocations: 16 kB / 1.016 GB, free: 91.12 MB / 0.67 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.02822/1.793, allocations: 17.81 MB / 1.034 GB, free: 73.26 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006558/1.794, allocations: 1.564 MB / 1.035 GB, free: 71.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-05/1.794, allocations: 44 kB / 1.035 GB, free: 70.97 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05898/1.853, allocations: 11.5 MB / 1.047 GB, free: 59.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008032/1.861, allocations: 1.561 MB / 1.048 GB, free: 57.94 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/1.869, allocations: 6.815 MB / 1.055 GB, free: 50.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/1.879, allocations: 0.597 MB / 1.055 GB, free: 50.31 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001901/1.881, allocations: 0.5382 MB / 1.056 GB, free: 49.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.881, allocations: 5.25 kB / 1.056 GB, free: 49.77 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0244/1.905, allocations: 16.74 MB / 1.072 GB, free: 32.97 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.921e-05/1.905, allocations: 48 kB / 1.072 GB, free: 32.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05608/1.961, allocations: 11.03 MB / 1.083 GB, free: 21.92 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007962/1.969, allocations: 1.555 MB / 1.085 GB, free: 20.37 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/1.981, allocations: 11.02 MB / 1.095 GB, free: 8.906 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009999/1.991, allocations: 0.5621 MB / 1.096 GB, free: 8.344 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002413/1.994, allocations: 0.5382 MB / 1.097 GB, free: 7.805 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 521 * 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,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.005923/2, allocations: 2.662 MB / 1.099 GB, free: 5.129 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002368/2.002, allocations: 0.763 MB / 1.1 GB, free: 4.359 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02597/2.028, allocations: 14.37 MB / 1.114 GB, free: 5.957 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/2.028, allocations: 32 kB / 1.114 GB, free: 5.926 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/2.028, allocations: 7.953 kB / 1.114 GB, free: 5.918 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3559/2.384, allocations: 10.92 MB / 1.125 GB, free: 198.6 MB / 0.6857 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 postOpt removeSimpleEquations (simulation): time 0.04076/2.425, allocations: 24.93 MB / 1.149 GB, free: 188.1 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/2.425, allocations: 0 / 1.149 GB, free: 188.1 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004898/2.43, allocations: 0.6983 MB / 1.15 GB, free: 188.1 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06025/2.49, allocations: 10.33 MB / 1.16 GB, free: 187.8 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001449/2.492, allocations: 105.4 kB / 1.16 GB, free: 187.7 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005634/2.497, allocations: 4.927 MB / 1.165 GB, free: 184.3 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/2.497, allocations: 1.438 kB / 1.165 GB, free: 184.3 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03753/2.535, allocations: 19.57 MB / 1.184 GB, free: 176 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007571/2.542, allocations: 2.018 MB / 1.186 GB, free: 175.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003848/2.546, allocations: 72.81 kB / 1.186 GB, free: 175.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008204/2.555, allocations: 452 kB / 1.186 GB, free: 175.1 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001413/2.556, allocations: 215.6 kB / 1.186 GB, free: 175 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001289/2.557, allocations: 162.8 kB / 1.187 GB, free: 175 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0153/2.573, allocations: 5.667 MB / 1.192 GB, free: 173.3 MB / 0.6857 GB Notification: Performance of sort global known variables: time 1.233e-06/2.573, allocations: 0 / 1.192 GB, free: 173.3 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.02243/2.595, allocations: 4.984 MB / 1.197 GB, free: 172.8 MB / 0.6857 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 (304): * Single equations (assignments): 294 * 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,2 5,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.03084/2.626, allocations: 20.4 MB / 1.217 GB, free: 158.3 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.03634/2.662, allocations: 24.2 MB / 1.241 GB, free: 135.6 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/2.662, allocations: 5 kB / 1.241 GB, free: 135.6 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.01019/2.673, allocations: 6.47 MB / 1.247 GB, free: 129.1 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02594/2.699, allocations: 5.039 MB / 1.252 GB, free: 124.2 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2554/2.954, allocations: 95.81 MB / 1.345 GB, free: 23.73 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004336/2.958, allocations: 5.251 MB / 1.35 GB, free: 18.44 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.02041/2.979, allocations: 5.028 MB / 1.355 GB, free: 13.41 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009387/2.988, allocations: 3.861 MB / 1.359 GB, free: 9.543 MB / 0.6857 GB Notification: Performance of SimCode: time 1.042e-06/2.988, allocations: 0 / 1.359 GB, free: 9.543 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.06/4.048, allocations: 296.1 MB / 1.648 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/4.049, allocations: 242.9 kB / 1.649 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/12.14, allocations: 0 / 1.649 GB, free: 174.8 MB / 0.7169 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) Environment - environmentSimulation: