Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003785/0.00379, allocations: 356.5 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.529/1.529, allocations: 165.8 MB / 183.1 MB, free: 5.438 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.678/3.678, allocations: 410.8 MB / 0.6001 GB, free: 15.08 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001756/0.001756, allocations: 200.9 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004482, allocations: 15.94 kB / 0.7429 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4052, allocations: 67.45 MB / 0.8088 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.638/1.043, allocations: 146 MB / 0.9513 GB, free: 1.559 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003599/1.047, allocations: 1.702 MB / 0.953 GB, free: 1.523 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/1.047, allocations: 11 kB / 0.953 GB, free: 1.523 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006892/1.048, allocations: 164.9 kB / 0.9531 GB, free: 1.52 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/1.05, allocations: 0.5239 MB / 0.9537 GB, free: 1.516 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/1.052, allocations: 415.4 kB / 0.9541 GB, free: 1.508 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003943/1.056, allocations: 2.97 MB / 0.957 GB, free: 1.504 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/1.057, allocations: 0.6872 MB / 0.9576 GB, free: 1.395 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/1.059, allocations: 0.8003 MB / 0.9584 GB, free: 1.387 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/1.061, allocations: 0.7105 MB / 0.9591 GB, free: 1.383 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/1.061, allocations: 34.75 kB / 0.9591 GB, free: 1.383 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/1.062, allocations: 384.8 kB / 0.9595 GB, free: 1.383 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004027/1.063, allocations: 282.8 kB / 0.9598 GB, free: 1.383 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004584/1.063, allocations: 230.5 kB / 0.96 GB, free: 1.352 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001506/1.065, allocations: 0.9814 MB / 0.9609 GB, free: 1.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/1.065, allocations: 4 kB / 0.961 GB, free: 1.246 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.065, allocations: 0 / 0.961 GB, free: 1.246 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/1.065, allocations: 0 / 0.961 GB, free: 1.246 MB / 474.7 MB 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.002953/1.068, allocations: 1.286 MB / 0.9622 GB, free: 464 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/1.068, allocations: 9.969 kB / 0.9622 GB, free: 464 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/1.069, allocations: 186.3 kB / 0.9624 GB, free: 400 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/1.071, allocations: 0.7972 MB / 0.9632 GB, free: 56 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/1.071, allocations: 42.22 kB / 0.9632 GB, free: 56 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/1.071, allocations: 59.53 kB / 0.9633 GB, free: 56 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/1.073, allocations: 0.7941 MB / 0.964 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/1.073, allocations: 5.906 kB / 0.9641 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.106e-05/1.073, allocations: 21.75 kB / 0.9641 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/1.073, allocations: 14.41 kB / 0.9641 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/1.075, allocations: 0.5459 MB / 0.9646 GB, free: 15.78 MB / 490.7 MB 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.006064/1.081, allocations: 4.599 MB / 0.9691 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/1.082, allocations: 427.7 kB / 0.9695 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/1.082, allocations: 251.5 kB / 0.9698 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004107/1.083, allocations: 198.2 kB / 0.9699 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000715/1.084, allocations: 299.1 kB / 0.9702 GB, free: 11.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 5.521e-06/1.084, allocations: 0 / 0.9702 GB, free: 11.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=31): time 0.002086/1.086, allocations: 0.6503 MB / 0.9709 GB, free: 11.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/1.086, allocations: 79.08 kB / 0.9709 GB, free: 11.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/1.088, allocations: 1.121 MB / 0.972 GB, free: 11.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/1.088, allocations: 37.23 kB / 0.9721 GB, free: 11.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/1.088, allocations: 491.5 kB / 0.9725 GB, free: 11.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/1.089, allocations: 108.4 kB / 0.9726 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/1.089, allocations: 9.75 kB / 0.9727 GB, free: 11.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/1.089, allocations: 325.1 kB / 0.973 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005404/1.089, allocations: 185.4 kB / 0.9731 GB, free: 11.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008506/1.09, allocations: 0.5006 MB / 0.9736 GB, free: 10.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006903/1.091, allocations: 291.7 kB / 0.9739 GB, free: 10.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.091, allocations: 0 / 0.9739 GB, free: 10.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001905/1.093, allocations: 0.6901 MB / 0.9746 GB, free: 10.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002182/1.093, allocations: 275 kB / 0.9748 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.093, allocations: 9.125 kB / 0.9749 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.093, allocations: 8.906 kB / 0.9749 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007985/1.094, allocations: 114.4 kB / 0.975 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/1.094, allocations: 6.469 kB / 0.975 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.095, allocations: 102.2 kB / 0.9751 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.65e-05/1.095, allocations: 25.22 kB / 0.9751 GB, free: 9.918 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/1.095, allocations: 2.938 kB / 0.9751 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001378/1.097, allocations: 0.546 MB / 0.9756 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.097, allocations: 6 kB / 0.9756 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.097, allocations: 12.42 kB / 0.9757 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/1.098, allocations: 109.4 kB / 0.9758 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.098, allocations: 16.64 kB / 0.9758 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.099, allocations: 98.95 kB / 0.9759 GB, free: 9.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/1.099, allocations: 23.83 kB / 0.9759 GB, free: 9.676 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008115/1.1, allocations: 465 kB / 0.9763 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/1.1, allocations: 99.81 kB / 0.9764 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/1.101, allocations: 0.5074 MB / 0.9769 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.101, allocations: 0 / 0.9769 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.101, allocations: 0 / 0.9769 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004912/1.102, allocations: 219.4 kB / 0.9771 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/1.102, allocations: 8.953 kB / 0.9771 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008497/1.103, allocations: 51.92 kB / 0.9772 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/1.103, allocations: 36.69 kB / 0.9772 GB, free: 8.992 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001544/1.105, allocations: 0.5813 MB / 0.9778 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001331/1.106, allocations: 0.7099 MB / 0.9785 GB, free: 8.305 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004828/1.106, allocations: 178.8 kB / 0.9787 GB, free: 8.262 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001548/1.108, allocations: 0.7843 MB / 0.9794 GB, free: 8.004 MB / 490.7 MB Notification: Performance of Backend: time 3.056e-06/1.108, allocations: 0 / 0.9794 GB, free: 8.004 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003158/1.111, allocations: 0.8463 MB / 0.9802 GB, free: 7.629 MB / 490.7 MB Notification: Performance of SimCode: time 0.006627/1.118, allocations: 2.694 MB / 0.9829 GB, free: 6.027 MB / 490.7 MB Notification: Performance of Templates: time 0.04664/1.164, allocations: 17.25 MB / 0.9997 GB, free: 11.46 MB / 0.4948 GB