Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001421, allocations: 185.8 kB / 15.77 MB, free: 6 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.7293/0.7293, allocations: 82.93 MB / 99.42 MB, free: 3.312 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.175/2.175, allocations: 205.4 MB / 325.4 MB, free: 3.344 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.001017/0.001017, allocations: 90.84 kB / 393.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004483, allocations: 12 kB / 471.5 MB, free: 66.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09696, allocations: 67.45 MB / 0.5263 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5402/0.6372, allocations: 160.8 MB / 0.6833 GB, free: 14.72 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.6482, allocations: 4.911 MB / 0.6881 GB, free: 9.809 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.6496, allocations: 43.62 kB / 0.6882 GB, free: 9.766 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.6522, allocations: 0.7821 MB / 0.6889 GB, free: 8.98 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006172/0.6584, allocations: 1.749 MB / 0.6906 GB, free: 7.227 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004486/0.6629, allocations: 1.18 MB / 0.6918 GB, free: 6.062 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003644/0.6666, allocations: 1.673 MB / 0.6934 GB, free: 4.383 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.6684, allocations: 0.8013 MB / 0.6942 GB, free: 3.574 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/0.6711, allocations: 0.9735 MB / 0.6952 GB, free: 2.598 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.6726, allocations: 0.7122 MB / 0.6959 GB, free: 1.883 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002259/0.6729, allocations: 48 kB / 0.6959 GB, free: 1.836 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.6761, allocations: 0.9438 MB / 0.6968 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006821/0.6768, allocations: 378.8 kB / 0.6972 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005135/0.6773, allocations: 276.8 kB / 0.6975 GB, free: 252 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002907/0.6803, allocations: 1.337 MB / 0.6988 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.6803, allocations: 3.938 kB / 0.6988 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.207e-06/0.6803, allocations: 0 / 0.6988 GB, free: 14.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.6804, allocations: 0 / 0.6988 GB, free: 14.9 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006435/0.6868, allocations: 1.712 MB / 0.7004 GB, free: 13.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.6869, allocations: 8.031 kB / 0.7004 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007017/0.6939, allocations: 0.9384 MB / 0.7014 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.6962, allocations: 0.8603 MB / 0.7022 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.312e-05/0.6963, allocations: 73.94 kB / 0.7023 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/0.6966, allocations: 95.98 kB / 0.7024 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005272/0.7019, allocations: 1.563 MB / 0.7039 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.7019, allocations: 4 kB / 0.7039 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.7021, allocations: 39.98 kB / 0.7039 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.269e-05/0.7022, allocations: 45.98 kB / 0.704 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007547/0.7098, allocations: 1.834 MB / 0.7058 GB, free: 7.582 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.009867/0.7197, allocations: 4.292 MB / 0.71 GB, free: 3.062 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006383/0.7261, allocations: 1.598 MB / 0.7115 GB, free: 1.453 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005781/0.7267, allocations: 174 kB / 0.7117 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003432/0.7302, allocations: 0.8989 MB / 0.7126 GB, free: 364 kB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 5.502e-06/0.7302, allocations: 3.938 kB / 0.7126 GB, free: 360 kB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01067/0.7409, allocations: 2.431 MB / 0.7149 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.741, allocations: 60.41 kB / 0.715 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.7431, allocations: 1.194 MB / 0.7162 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002353/0.7434, allocations: 53.69 kB / 0.7162 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006549/0.7441, allocations: 0.5449 MB / 0.7167 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000481/0.7446, allocations: 327.3 kB / 0.7171 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.7447, allocations: 17.75 kB / 0.7171 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.7449, allocations: 341.9 kB / 0.7174 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/0.7479, allocations: 0.6889 MB / 0.7181 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003335/0.7513, allocations: 0.9215 MB / 0.719 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/0.7545, allocations: 0.7211 MB / 0.7197 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/0.7545, allocations: 11.94 kB / 0.7197 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.007174/0.7617, allocations: 1.756 MB / 0.7214 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.7618, allocations: 10.03 kB / 0.7214 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.7618, allocations: 4 kB / 0.7214 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.7618, allocations: 8 kB / 0.7214 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/0.7642, allocations: 339.9 kB / 0.7217 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.494e-05/0.7643, allocations: 19.92 kB / 0.7218 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.7666, allocations: 250.8 kB / 0.722 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/0.7669, allocations: 51.95 kB / 0.7221 GB, free: 6.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.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 (121): * Single equations (assignments): 121 * 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.000862/0.7677, allocations: 347.7 kB / 0.7224 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003677/0.7681, allocations: 138.3 kB / 0.7225 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007089/0.7752, allocations: 1.784 MB / 0.7243 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.7753, allocations: 8 kB / 0.7243 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.721e-06/0.7753, allocations: 0 / 0.7243 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.7753, allocations: 3.984 kB / 0.7243 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.7861, allocations: 3.314 MB / 0.7275 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.7861, allocations: 6.625 kB / 0.7275 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/0.7884, allocations: 283.9 kB / 0.7278 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.826e-05/0.7885, allocations: 8 kB / 0.7278 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.7886, allocations: 35.97 kB / 0.7278 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.508e-05/0.7887, allocations: 7.938 kB / 0.7278 GB, free: 472 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.7e-06/0.7887, allocations: 8 kB / 0.7278 GB, free: 464 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.7993, allocations: 3.018 MB / 0.7308 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009445/0.8003, allocations: 327.2 kB / 0.7311 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/0.8005, allocations: 27.95 kB / 0.7311 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/0.8025, allocations: 175.7 kB / 0.7313 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.8027, allocations: 76.44 kB / 0.7314 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/0.8029, allocations: 43.92 kB / 0.7314 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001555/0.8044, allocations: 0.8279 MB / 0.7322 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.234e-06/0.8045, allocations: 0 / 0.7322 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00157/0.806, allocations: 343.6 kB / 0.7325 GB, free: 11.47 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001902/0.808, allocations: 0.5453 MB / 0.7331 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006647/0.8146, allocations: 1.595 MB / 0.7346 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.717e-06/0.8147, allocations: 8.188 kB / 0.7346 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003339/0.818, allocations: 0.8241 MB / 0.7355 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/0.8217, allocations: 0.5834 MB / 0.736 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009052/0.8308, allocations: 3.398 MB / 0.7393 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.832, allocations: 1.212 MB / 0.7405 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002502/0.8346, allocations: 378.1 kB / 0.7409 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006508/0.8352, allocations: 115.4 kB / 0.741 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of SimCode: time 1.68e-06/0.8352, allocations: 0 / 0.741 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of Templates: time 0.05561/0.8909, allocations: 22.35 MB / 0.7628 GB, free: 12.68 MB / 0.5417 GB