Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002248/0.002252, allocations: 185.1 kB / 15.77 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6947/0.6947, allocations: 82.93 MB / 99.42 MB, free: 3.348 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.4 MB / 325.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 106.1 kB / 393.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007741/0.0007743, allocations: 12 kB / 471.5 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0937/0.09451, allocations: 67.45 MB / 0.5264 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03545/0.13, allocations: 24.57 MB / 0.5504 GB, free: 6.402 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.1416, allocations: 5.808 MB / 0.556 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.1429, allocations: 43.62 kB / 0.5561 GB, free: 0.543 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.1449, allocations: 0.6419 MB / 0.5567 GB, free: 15.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004191/0.1491, allocations: 1.184 MB / 0.5578 GB, free: 14.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004987/0.1541, allocations: 1.326 MB / 0.5591 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003235/0.1574, allocations: 1.56 MB / 0.5607 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.1587, allocations: 0.655 MB / 0.5613 GB, free: 11.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.1607, allocations: 0.8525 MB / 0.5621 GB, free: 10.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.1617, allocations: 0.5641 MB / 0.5627 GB, free: 9.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.1619, allocations: 36 kB / 0.5627 GB, free: 9.715 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.1638, allocations: 0.5344 MB / 0.5632 GB, free: 9.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003451/0.1641, allocations: 235.1 kB / 0.5635 GB, free: 8.949 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.1645, allocations: 237 kB / 0.5637 GB, free: 8.711 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.1664, allocations: 1.021 MB / 0.5647 GB, free: 7.688 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.849e-06/0.1665, allocations: 0 / 0.5647 GB, free: 7.688 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.102e-06/0.1665, allocations: 0 / 0.5647 GB, free: 7.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.1665, allocations: 7.938 kB / 0.5647 GB, free: 7.68 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003111/0.1696, allocations: 1.372 MB / 0.566 GB, free: 6.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1697, allocations: 16.02 kB / 0.5661 GB, free: 6.238 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004168/0.1739, allocations: 0.6305 MB / 0.5667 GB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.1759, allocations: 0.778 MB / 0.5674 GB, free: 4.773 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.721e-05/0.176, allocations: 61.98 kB / 0.5675 GB, free: 4.711 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.1762, allocations: 76 kB / 0.5676 GB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003337/0.1795, allocations: 1.103 MB / 0.5686 GB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.1796, allocations: 3.938 kB / 0.5686 GB, free: 3.453 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.1797, allocations: 28 kB / 0.5687 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.1797, allocations: 20 kB / 0.5687 GB, free: 3.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004166/0.1839, allocations: 1.016 MB / 0.5697 GB, free: 2.391 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.008164/0.1921, allocations: 4.99 MB / 0.5746 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/0.1961, allocations: 0.9537 MB / 0.5755 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001814/0.198, allocations: 1.592 MB / 0.577 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002194/0.2002, allocations: 0.5846 MB / 0.5776 GB, free: 9.613 MB / 426.7 MB Notification: Performance of pre-optimization done (n=61): time 4.758e-06/0.2002, allocations: 4 kB / 0.5776 GB, free: 9.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.006089/0.2063, allocations: 1.508 MB / 0.5791 GB, free: 8.094 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.2064, allocations: 63.97 kB / 0.5791 GB, free: 8.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.2083, allocations: 1.117 MB / 0.5802 GB, free: 6.891 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.2085, allocations: 49.62 kB / 0.5803 GB, free: 6.836 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/0.2092, allocations: 0.5513 MB / 0.5808 GB, free: 6.277 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.2094, allocations: 209 kB / 0.581 GB, free: 6.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.2095, allocations: 19.94 kB / 0.581 GB, free: 6.051 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2097, allocations: 341.9 kB / 0.5814 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/0.2117, allocations: 461.6 kB / 0.5818 GB, free: 5.258 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/0.2139, allocations: 0.7397 MB / 0.5825 GB, free: 4.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/0.2159, allocations: 493.8 kB / 0.583 GB, free: 3.906 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.216, allocations: 8 kB / 0.583 GB, free: 3.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004869/0.2209, allocations: 1.286 MB / 0.5843 GB, free: 2.605 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.2209, allocations: 9.094 kB / 0.5843 GB, free: 2.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.221, allocations: 8 kB / 0.5843 GB, free: 2.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.596e-05/0.221, allocations: 19.98 kB / 0.5843 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.2226, allocations: 267.8 kB / 0.5846 GB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.67e-05/0.2227, allocations: 19.94 kB / 0.5846 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.2243, allocations: 211 kB / 0.5848 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.2245, allocations: 43.98 kB / 0.5848 GB, free: 2.039 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * 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.0006932/0.2252, allocations: 299.7 kB / 0.5851 GB, free: 1.738 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.2255, allocations: 118.5 kB / 0.5852 GB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/0.2305, allocations: 1.39 MB / 0.5866 GB, free: 228 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-05/0.2306, allocations: 8 kB / 0.5866 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.796e-06/0.2306, allocations: 0 / 0.5866 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.2306, allocations: 3.984 kB / 0.5866 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3027/0.5333, allocations: 2.386 MB / 0.5889 GB, free: 62.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.5334, allocations: 2.031 kB / 0.5889 GB, free: 62.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/0.5347, allocations: 192.1 kB / 0.5891 GB, free: 62.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.5347, allocations: 5.875 kB / 0.5891 GB, free: 62.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.5349, allocations: 25.86 kB / 0.5891 GB, free: 62.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/0.5349, allocations: 9.062 kB / 0.5891 GB, free: 62.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.038e-06/0.5349, allocations: 7.797 kB / 0.5891 GB, free: 62.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006779/0.5417, allocations: 2.089 MB / 0.5912 GB, free: 62.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006327/0.5424, allocations: 284.3 kB / 0.5915 GB, free: 61.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.5426, allocations: 18.72 kB / 0.5915 GB, free: 61.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.5438, allocations: 126.6 kB / 0.5916 GB, free: 61.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.544, allocations: 55.09 kB / 0.5917 GB, free: 61.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.5441, allocations: 34.41 kB / 0.5917 GB, free: 61.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001309/0.5454, allocations: 0.7607 MB / 0.5924 GB, free: 61.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.68e-07/0.5455, allocations: 0 / 0.5924 GB, free: 61.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001315/0.5468, allocations: 344.1 kB / 0.5928 GB, free: 61.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001939/0.5487, allocations: 0.6544 MB / 0.5934 GB, free: 61.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004195/0.5529, allocations: 1.128 MB / 0.5945 GB, free: 61.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.705e-06/0.553, allocations: 1.75 kB / 0.5945 GB, free: 61.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002139/0.5551, allocations: 0.5886 MB / 0.5951 GB, free: 60.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.5576, allocations: 425.2 kB / 0.5955 GB, free: 60.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006144/0.5637, allocations: 2.703 MB / 0.5981 GB, free: 59.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008194/0.5646, allocations: 1.135 MB / 0.5992 GB, free: 58.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001639/0.5662, allocations: 252.4 kB / 0.5995 GB, free: 58.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.5667, allocations: 104.6 kB / 0.5996 GB, free: 58.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.565e-06/0.5667, allocations: 0 / 0.5996 GB, free: 58.59 MB / 426.7 MB Notification: Performance of Templates: time 0.07193/0.6387, allocations: 18.89 MB / 0.618 GB, free: 49.87 MB / 426.7 MB