Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003949/0.003948, allocations: 357.5 kB / 16.59 MB, free: 5.566 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.422/1.422, allocations: 165.8 MB / 183.1 MB, free: 5.383 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.73/3.73, allocations: 410.8 MB / 0.6001 GB, free: 15.17 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.002557/0.002556, allocations: 198.3 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007086/0.0007089, allocations: 19.98 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4161, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.03716/0.4533, allocations: 27.22 MB / 0.8353 GB, free: 1.492 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02344/0.4768, allocations: 11.61 MB / 0.8467 GB, free: 5.863 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.4783, allocations: 35.75 kB / 0.8467 GB, free: 5.828 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.4807, allocations: 0.5164 MB / 0.8472 GB, free: 5.309 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.4864, allocations: 1.422 MB / 0.8486 GB, free: 3.879 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009678/0.4961, allocations: 2.328 MB / 0.8509 GB, free: 1.57 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01065/0.5067, allocations: 4.276 MB / 0.855 GB, free: 13.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003386/0.5102, allocations: 0.9844 MB / 0.856 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.5135, allocations: 1.163 MB / 0.8571 GB, free: 11.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.516, allocations: 0.9878 MB / 0.8581 GB, free: 10.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003113/0.5163, allocations: 52 kB / 0.8581 GB, free: 10.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.519, allocations: 0.6941 MB / 0.8588 GB, free: 9.367 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005608/0.5196, allocations: 318.7 kB / 0.8591 GB, free: 9.055 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006068/0.5202, allocations: 313 kB / 0.8594 GB, free: 8.742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003239/0.5234, allocations: 1.753 MB / 0.8611 GB, free: 6.984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5235, allocations: 4 kB / 0.8611 GB, free: 6.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5235, allocations: 0 / 0.8611 GB, free: 6.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.973e-05/0.5235, allocations: 0 / 0.8611 GB, free: 6.98 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004514/0.5281, allocations: 1.693 MB / 0.8628 GB, free: 5.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.5281, allocations: 8.031 kB / 0.8628 GB, free: 5.219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.5299, allocations: 261.8 kB / 0.863 GB, free: 4.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003582/0.5335, allocations: 1.265 MB / 0.8643 GB, free: 3.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/0.5337, allocations: 73.94 kB / 0.8644 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.5339, allocations: 80 kB / 0.8644 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.5368, allocations: 1.023 MB / 0.8654 GB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.5369, allocations: 0 / 0.8654 GB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.537, allocations: 32 kB / 0.8655 GB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.5371, allocations: 24 kB / 0.8655 GB, free: 2.363 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002935/0.54, allocations: 0.7845 MB / 0.8662 GB, free: 1.578 MB / 410.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.0095/0.5495, allocations: 5.148 MB / 0.8713 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/0.552, allocations: 0.6555 MB / 0.8719 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.5533, allocations: 350 kB / 0.8722 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003687/0.557, allocations: 1.689 MB / 0.8739 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/0.5584, allocations: 375 kB / 0.8743 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006576/0.5591, allocations: 99.47 kB / 0.8744 GB, free: 8.758 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 3.627e-06/0.5591, allocations: 0 / 0.8744 GB, free: 8.758 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.00673/0.5659, allocations: 1.379 MB / 0.8757 GB, free: 7.348 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.5659, allocations: 55.41 kB / 0.8758 GB, free: 7.281 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.5685, allocations: 1.313 MB / 0.877 GB, free: 5.953 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.5687, allocations: 41.7 kB / 0.8771 GB, free: 5.906 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000783/0.5695, allocations: 0.6449 MB / 0.8777 GB, free: 5.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.5697, allocations: 157.8 kB / 0.8779 GB, free: 5.098 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.5697, allocations: 12 kB / 0.8779 GB, free: 5.086 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5699, allocations: 334 kB / 0.8782 GB, free: 4.754 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.5711, allocations: 269.8 kB / 0.8784 GB, free: 4.488 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.5726, allocations: 0.6208 MB / 0.879 GB, free: 3.715 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.5739, allocations: 386.2 kB / 0.8794 GB, free: 3.328 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.5739, allocations: 0 / 0.8794 GB, free: 3.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004307/0.5782, allocations: 1.137 MB / 0.8805 GB, free: 2.176 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002657/0.5785, allocations: 355.4 kB / 0.8809 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.5785, allocations: 8 kB / 0.8809 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.5799, allocations: 220.6 kB / 0.8811 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.581, allocations: 151.8 kB / 0.8812 GB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.5825, allocations: 0.872 MB / 0.8821 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.5843, allocations: 92.48 kB / 0.8822 GB, free: 356 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.5844, allocations: 43.98 kB / 0.8822 GB, free: 312 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.5844, allocations: 4 kB / 0.8822 GB, free: 308 kB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002661/0.5871, allocations: 0.8713 MB / 0.8831 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.5871, allocations: 8 kB / 0.8831 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/0.5877, allocations: 145.2 kB / 0.8832 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/0.5886, allocations: 135.8 kB / 0.8833 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/0.5924, allocations: 2.344 MB / 0.8856 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.594, allocations: 92.42 kB / 0.8857 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.5941, allocations: 36 kB / 0.8858 GB, free: 12.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009706/0.5951, allocations: 480.7 kB / 0.8862 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.5953, allocations: 126.4 kB / 0.8863 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/0.5987, allocations: 0.9425 MB / 0.8873 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002719/0.6015, allocations: 0.9545 MB / 0.8882 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6015, allocations: 0 / 0.8882 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007857/0.6023, allocations: 279.3 kB / 0.8884 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.6026, allocations: 8 kB / 0.8885 GB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.6039, allocations: 75.83 kB / 0.8885 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.6041, allocations: 48.36 kB / 0.8886 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004234/0.6083, allocations: 0.8949 MB / 0.8894 GB, free: 8.602 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003954/0.6123, allocations: 1.218 MB / 0.8906 GB, free: 7.375 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001104/0.6134, allocations: 299.3 kB / 0.8909 GB, free: 7.082 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001981/0.6154, allocations: 0.901 MB / 0.8918 GB, free: 6.18 MB / 442.7 MB Notification: Performance of Backend: time 9.62e-07/0.6155, allocations: 0 / 0.8918 GB, free: 6.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006013/0.6215, allocations: 1.554 MB / 0.8933 GB, free: 4.598 MB / 442.7 MB Notification: Performance of SimCode: time 0.008953/0.6305, allocations: 3.587 MB / 0.8968 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of Templates: time 0.07055/0.7011, allocations: 26.62 MB / 0.9228 GB, free: 6.609 MB / 474.7 MB