Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002284/0.002289, allocations: 187.2 kB / 15.76 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.7316/0.7316, allocations: 82.92 MB / 99.42 MB, free: 3.27 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.08/2.08, allocations: 205.4 MB / 325.4 MB, free: 3.34 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.00106/0.00106, allocations: 106.2 kB / 393.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007963/0.0007966, allocations: 12 kB / 471.5 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/0.09136, allocations: 67.45 MB / 0.5264 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5308/0.6222, allocations: 160.8 MB / 0.6833 GB, free: 14.75 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.633, allocations: 4.905 MB / 0.6881 GB, free: 9.848 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.6343, allocations: 43.62 kB / 0.6882 GB, free: 9.805 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.6366, allocations: 0.7782 MB / 0.6889 GB, free: 9.023 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005857/0.6425, allocations: 1.753 MB / 0.6906 GB, free: 7.266 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004351/0.6469, allocations: 1.194 MB / 0.6918 GB, free: 6.086 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003155/0.65, allocations: 1.611 MB / 0.6934 GB, free: 4.469 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.6514, allocations: 0.7571 MB / 0.6941 GB, free: 3.699 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.6536, allocations: 0.9618 MB / 0.6951 GB, free: 2.734 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.6547, allocations: 0.681 MB / 0.6957 GB, free: 2.051 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.6549, allocations: 44 kB / 0.6958 GB, free: 2.008 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.6571, allocations: 0.741 MB / 0.6965 GB, free: 1.266 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.6577, allocations: 370.8 kB / 0.6969 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004191/0.6581, allocations: 272.9 kB / 0.6971 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.6602, allocations: 1.227 MB / 0.6983 GB, free: 15.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.762e-06/0.6603, allocations: 4 kB / 0.6983 GB, free: 15.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6603, allocations: 0 / 0.6983 GB, free: 15.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.6603, allocations: 0 / 0.6983 GB, free: 15.39 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005681/0.666, allocations: 1.659 MB / 0.6999 GB, free: 13.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.6661, allocations: 19.94 kB / 0.7 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004653/0.6707, allocations: 0.7006 MB / 0.7006 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.6728, allocations: 0.8447 MB / 0.7015 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.103e-05/0.6729, allocations: 69.95 kB / 0.7015 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/0.6731, allocations: 91.84 kB / 0.7016 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004203/0.6773, allocations: 1.481 MB / 0.7031 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.6774, allocations: 0 / 0.7031 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.6776, allocations: 32 kB / 0.7031 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.906e-05/0.6776, allocations: 49.98 kB / 0.7031 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005609/0.6833, allocations: 1.538 MB / 0.7046 GB, free: 8.723 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.009204/0.6925, allocations: 5.163 MB / 0.7097 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004852/0.6974, allocations: 1.315 MB / 0.711 GB, free: 1.961 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004957/0.6979, allocations: 153.7 kB / 0.7111 GB, free: 1.793 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002422/0.7004, allocations: 0.7233 MB / 0.7118 GB, free: 1.059 MB / 490.7 MB Notification: Performance of pre-optimization done (n=80): time 5.319e-06/0.7004, allocations: 4 kB / 0.7118 GB, free: 1.055 MB / 490.7 MB Notification: Performance of matching and sorting (n=80): time 0.007315/0.7077, allocations: 1.902 MB / 0.7137 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.7078, allocations: 60.06 kB / 0.7137 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.7103, allocations: 1.243 MB / 0.715 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.7104, allocations: 41.7 kB / 0.715 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006636/0.7111, allocations: 0.587 MB / 0.7156 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003705/0.7115, allocations: 276.1 kB / 0.7158 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.179e-05/0.7116, allocations: 16 kB / 0.7158 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.7118, allocations: 349.9 kB / 0.7162 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/0.714, allocations: 0.5445 MB / 0.7167 GB, free: 12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.7165, allocations: 0.8443 MB / 0.7175 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.7187, allocations: 0.6042 MB / 0.7181 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.526e-06/0.7187, allocations: 0 / 0.7181 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005156/0.7239, allocations: 1.507 MB / 0.7196 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.724, allocations: 12.62 kB / 0.7196 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.724, allocations: 7.984 kB / 0.7196 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/0.724, allocations: 16 kB / 0.7196 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.7258, allocations: 303.7 kB / 0.7199 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/0.7259, allocations: 16 kB / 0.7199 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.7277, allocations: 230.7 kB / 0.7202 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.7279, allocations: 51.97 kB / 0.7202 GB, free: 8.293 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.000768/0.7287, allocations: 339.6 kB / 0.7205 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.729, allocations: 134.3 kB / 0.7207 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005082/0.7341, allocations: 1.428 MB / 0.7221 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.7341, allocations: 8 kB / 0.7221 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.186e-06/0.7341, allocations: 3.938 kB / 0.7221 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.7342, allocations: 7.984 kB / 0.7221 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008242/0.7424, allocations: 2.834 MB / 0.7248 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.7425, allocations: 4 kB / 0.7248 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.744, allocations: 223.9 kB / 0.7251 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-05/0.7441, allocations: 8 kB / 0.7251 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.7442, allocations: 31.97 kB / 0.7251 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/0.7442, allocations: 12 kB / 0.7251 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.759e-06/0.7442, allocations: 7.938 kB / 0.7251 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007388/0.7516, allocations: 2.493 MB / 0.7275 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007614/0.7524, allocations: 307.1 kB / 0.7278 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.7527, allocations: 27.92 kB / 0.7279 GB, free: 176 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.7541, allocations: 135.9 kB / 0.728 GB, free: 40 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.7543, allocations: 68.47 kB / 0.7281 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.7544, allocations: 35.97 kB / 0.7281 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001487/0.7559, allocations: 0.8526 MB / 0.7289 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.94e-07/0.756, allocations: 0 / 0.7289 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001342/0.7573, allocations: 319.5 kB / 0.7292 GB, free: 14.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.001797/0.7591, allocations: 0.5257 MB / 0.7297 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004687/0.7638, allocations: 1.302 MB / 0.731 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.367e-06/0.7639, allocations: 4.062 kB / 0.731 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.7662, allocations: 0.648 MB / 0.7317 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/0.7695, allocations: 0.5708 MB / 0.7322 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/0.7764, allocations: 2.951 MB / 0.7351 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.7775, allocations: 1.2 MB / 0.7363 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002117/0.7796, allocations: 338 kB / 0.7366 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/0.7802, allocations: 119.4 kB / 0.7367 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of SimCode: time 1.53e-06/0.7802, allocations: 0 / 0.7367 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of Templates: time 0.05789/0.8381, allocations: 20.93 MB / 0.7571 GB, free: 2.379 MB / 0.5261 GB