Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000822/0.0008219, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.00643/0.00643, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 473.4 MB / 0.7469 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003367, allocations: 14.56 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3214, allocations: 162.2 MB / 1.074 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1713/0.4928, allocations: 157.3 MB / 1.228 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004888/0.4977, allocations: 3.588 MB / 1.231 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.498, allocations: 11.88 kB / 1.231 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.4986, allocations: 131.2 kB / 1.231 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.5, allocations: 0.5058 MB / 1.232 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.5011, allocations: 386 kB / 1.232 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003714/0.5048, allocations: 3.491 MB / 1.236 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.506, allocations: 0.7543 MB / 1.236 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.5077, allocations: 0.9103 MB / 1.237 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.5089, allocations: 0.7115 MB / 1.238 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.509, allocations: 32 kB / 1.238 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.5108, allocations: 0.799 MB / 1.239 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003842/0.5112, allocations: 282.8 kB / 1.239 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008341/0.5121, allocations: 0.5301 MB / 1.24 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.5141, allocations: 1.363 MB / 1.241 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5141, allocations: 8 kB / 1.241 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5141, allocations: 0 / 1.241 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.5141, allocations: 0 / 1.241 GB, free: 12.16 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002045/0.5162, allocations: 1.268 MB / 1.242 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5162, allocations: 8.031 kB / 1.242 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007593/0.517, allocations: 190.5 kB / 1.242 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.5181, allocations: 0.7945 MB / 1.243 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.5182, allocations: 45 kB / 1.243 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.201e-05/0.5183, allocations: 56 kB / 1.243 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.5195, allocations: 0.7965 MB / 1.244 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.5195, allocations: 7.938 kB / 1.244 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.5195, allocations: 24 kB / 1.244 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.5196, allocations: 23.94 kB / 1.244 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008942/0.5205, allocations: 0.5422 MB / 1.245 GB, free: 8.223 MB / 0.9981 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.003844/0.5243, allocations: 4.595 MB / 1.249 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/0.525, allocations: 430.3 kB / 1.249 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.5255, allocations: 253.3 kB / 1.25 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/0.5258, allocations: 198.2 kB / 1.25 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005411/0.5263, allocations: 305.6 kB / 1.25 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/0.5263, allocations: 0 / 1.25 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.004023/0.5304, allocations: 1.337 MB / 1.252 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.5304, allocations: 85.11 kB / 1.252 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6764/1.207, allocations: 1.117 MB / 1.253 GB, free: 23.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/1.207, allocations: 34.91 kB / 1.253 GB, free: 23.29 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/1.208, allocations: 493.4 kB / 1.253 GB, free: 23.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/1.208, allocations: 107.5 kB / 1.253 GB, free: 23.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/1.208, allocations: 44.61 kB / 1.253 GB, free: 23.19 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/1.208, allocations: 323.4 kB / 1.254 GB, free: 22.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/1.208, allocations: 213.4 kB / 1.254 GB, free: 22.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007391/1.209, allocations: 0.5304 MB / 1.254 GB, free: 22.53 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/1.21, allocations: 0.6422 MB / 1.255 GB, free: 22.31 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.21, allocations: 1.875 kB / 1.255 GB, free: 22.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002731/1.213, allocations: 1.053 MB / 1.256 GB, free: 22.17 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/1.213, allocations: 274.8 kB / 1.256 GB, free: 21.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/1.213, allocations: 6.688 kB / 1.256 GB, free: 21.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/1.215, allocations: 367.3 kB / 1.257 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/1.215, allocations: 58.27 kB / 1.257 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/1.216, allocations: 1.011 MB / 1.258 GB, free: 21.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008421/1.217, allocations: 103.9 kB / 1.258 GB, free: 21.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/1.217, allocations: 31.48 kB / 1.258 GB, free: 21.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.217, allocations: 4.812 kB / 1.258 GB, free: 21.29 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001522/1.218, allocations: 0.7264 MB / 1.259 GB, free: 21.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.219, allocations: 7.781 kB / 1.259 GB, free: 21.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/1.219, allocations: 208.4 kB / 1.259 GB, free: 21.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/1.219, allocations: 67.58 kB / 1.259 GB, free: 21.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/1.223, allocations: 3.083 MB / 1.262 GB, free: 19.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009833/1.224, allocations: 89.56 kB / 1.262 GB, free: 19.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/1.224, allocations: 25.44 kB / 1.262 GB, free: 19.68 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006593/1.225, allocations: 466.5 kB / 1.262 GB, free: 19.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/1.225, allocations: 106.1 kB / 1.262 GB, free: 19.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/1.226, allocations: 0.7213 MB / 1.263 GB, free: 19.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.226, allocations: 9.219 kB / 1.263 GB, free: 19.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.226, allocations: 4.562 kB / 1.263 GB, free: 19.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.226, allocations: 2.438 kB / 1.263 GB, free: 19.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/1.228, allocations: 1.607 MB / 1.265 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.228, allocations: 3.141 kB / 1.265 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/1.229, allocations: 27.83 kB / 1.265 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/1.229, allocations: 231.1 kB / 1.265 GB, free: 18.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/1.229, allocations: 14.92 kB / 1.265 GB, free: 18.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007954/1.23, allocations: 0.981 MB / 1.266 GB, free: 18.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.23, allocations: 2.625 kB / 1.266 GB, free: 18.28 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/1.231, allocations: 0.8339 MB / 1.267 GB, free: 17.99 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/1.232, allocations: 221.4 kB / 1.267 GB, free: 17.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.232, allocations: 15.12 kB / 1.267 GB, free: 17.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/1.232, allocations: 51.02 kB / 1.267 GB, free: 17.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/1.232, allocations: 31.38 kB / 1.267 GB, free: 17.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/1.232, allocations: 15.16 kB / 1.267 GB, free: 17.83 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001219/1.234, allocations: 0.7923 MB / 1.268 GB, free: 17.72 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.11e-07/1.234, allocations: 0 / 1.268 GB, free: 17.72 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001502/1.235, allocations: 434 kB / 1.268 GB, free: 17.69 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004711/1.236, allocations: 183.3 kB / 1.268 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002118/1.238, allocations: 1.089 MB / 1.27 GB, free: 17.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.238, allocations: 3.938 kB / 1.27 GB, free: 17.31 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005239/1.238, allocations: 238.8 kB / 1.27 GB, free: 17.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/1.241, allocations: 443.6 kB / 1.27 GB, free: 17.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/1.244, allocations: 2.076 MB / 1.272 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008776/1.245, allocations: 1.184 MB / 1.273 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001145/1.246, allocations: 307.9 kB / 1.274 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/1.246, allocations: 63 kB / 1.274 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.246, allocations: 0 / 1.274 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of Templates: time 0.04122/1.287, allocations: 18.82 MB / 1.292 GB, free: 14.39 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)