Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001697/0.001697, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.463/1.463, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 289.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9569/0.9569, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 87.86 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3866, allocations: 86.97 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1551/0.5418, allocations: 161.6 MB / 0.9249 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002977/0.5448, allocations: 1.755 MB / 0.9266 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.5452, allocations: 11.94 kB / 0.9266 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005952/0.5458, allocations: 178.9 kB / 0.9268 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.5473, allocations: 0.5407 MB / 0.9273 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.5484, allocations: 391.9 kB / 0.9277 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002617/0.551, allocations: 2.524 MB / 0.9301 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.5523, allocations: 0.945 MB / 0.931 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.554, allocations: 1.047 MB / 0.9321 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.5551, allocations: 0.7039 MB / 0.9328 GB, free: 9.609 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.5553, allocations: 56 kB / 0.9328 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.5568, allocations: 0.7445 MB / 0.9335 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003731/0.5572, allocations: 302.9 kB / 0.9338 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007876/0.558, allocations: 0.5439 MB / 0.9344 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.5597, allocations: 1.408 MB / 0.9357 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5597, allocations: 4 kB / 0.9357 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5597, allocations: 0 / 0.9357 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.551e-05/0.5598, allocations: 0 / 0.9357 GB, free: 6.551 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002599/0.5624, allocations: 1.451 MB / 0.9372 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.5624, allocations: 12.03 kB / 0.9372 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008428/0.5633, allocations: 186.5 kB / 0.9373 GB, free: 4.844 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.5648, allocations: 0.8489 MB / 0.9382 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.5648, allocations: 45 kB / 0.9382 GB, free: 3.891 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.72e-05/0.5649, allocations: 56 kB / 0.9383 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.5661, allocations: 0.8003 MB / 0.9391 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.5662, allocations: 0 / 0.9391 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.5662, allocations: 27.98 kB / 0.9391 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.5662, allocations: 12 kB / 0.9391 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009368/0.5672, allocations: 0.5344 MB / 0.9396 GB, free: 2.387 MB / 0.7012 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.003996/0.5712, allocations: 4.591 MB / 0.9441 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/0.5719, allocations: 418.2 kB / 0.9445 GB, free: 13 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.5723, allocations: 243.1 kB / 0.9447 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.5726, allocations: 194.2 kB / 0.9449 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004753/0.5731, allocations: 293.6 kB / 0.9452 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.5731, allocations: 0 / 0.9452 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.001336/0.5744, allocations: 0.628 MB / 0.9458 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5745, allocations: 85.05 kB / 0.9459 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.5758, allocations: 1.118 MB / 0.947 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.5759, allocations: 41.7 kB / 0.947 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.5762, allocations: 492.1 kB / 0.9475 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.474e-05/0.5763, allocations: 102.5 kB / 0.9476 GB, free: 9.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.5765, allocations: 118 kB / 0.9477 GB, free: 9.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.5766, allocations: 329.9 kB / 0.948 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.577, allocations: 210.4 kB / 0.9482 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.5776, allocations: 0.5174 MB / 0.9487 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/0.5785, allocations: 0.6385 MB / 0.9493 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5785, allocations: 0 / 0.9493 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001199/0.5797, allocations: 0.7167 MB / 0.95 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.5798, allocations: 33.77 kB / 0.9501 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5798, allocations: 8 kB / 0.9501 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.5798, allocations: 8 kB / 0.9501 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.5817, allocations: 355.3 kB / 0.9504 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003165/0.5848, allocations: 6.095 MB / 0.9564 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.5855, allocations: 67.5 kB / 0.9564 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.5855, allocations: 27.98 kB / 0.9565 GB, free: 144 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.3159/0.9015, allocations: 0.4901 MB / 0.9569 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000531/0.9021, allocations: 497.8 kB / 0.9574 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007862/0.9029, allocations: 0.5585 MB / 0.958 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.989e-06/0.9029, allocations: 1.875 kB / 0.958 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001291/0.9042, allocations: 0.649 MB / 0.9586 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.9042, allocations: 35 kB / 0.9586 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.9042, allocations: 5.438 kB / 0.9586 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.9043, allocations: 8.25 kB / 0.9586 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.9049, allocations: 153 kB / 0.9588 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.9049, allocations: 13.52 kB / 0.9588 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006282/0.9055, allocations: 69.22 kB / 0.9589 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.9056, allocations: 22.52 kB / 0.9589 GB, free: 189.9 MB / 0.7169 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.9058, allocations: 221.9 kB / 0.9591 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.9059, allocations: 95.16 kB / 0.9592 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009383/0.9069, allocations: 488.5 kB / 0.9597 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.9069, allocations: 10.42 kB / 0.9597 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.9069, allocations: 5.188 kB / 0.9597 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.9072, allocations: 213.3 kB / 0.9599 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.9073, allocations: 11.39 kB / 0.9599 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.9077, allocations: 18.5 kB / 0.9599 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.9077, allocations: 26.06 kB / 0.9599 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001406/0.9092, allocations: 0.7867 MB / 0.9607 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001089/0.9103, allocations: 0.92 MB / 0.9616 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003102/0.9106, allocations: 180.6 kB / 0.9618 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009256/0.9115, allocations: 0.7908 MB / 0.9625 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of Backend: time 3.51e-07/0.9115, allocations: 0 / 0.9625 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003652/0.9152, allocations: 1.169 MB / 0.9637 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003344/0.9185, allocations: 2.578 MB / 0.9662 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.02287/0.9414, allocations: 19.43 MB / 0.9852 GB, free: 169.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)