Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.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.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002439/0.002442, allocations: 354.9 kB / 15.94 MB, free: 6.211 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.399/1.399, allocations: 165.8 MB / 182.5 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.953/3.953, allocations: 410.8 MB / 0.5995 GB, free: 15.1 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.001693/0.001693, allocations: 192.1 kB / 0.6662 GB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008163/0.0008166, allocations: 16 kB / 0.7423 GB, free: 9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4915/0.4924, allocations: 67.45 MB / 0.8081 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00306/0.4955, allocations: 2.63 MB / 0.8107 GB, free: 26.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.4972, allocations: 0.9206 MB / 0.8116 GB, free: 25.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.4975, allocations: 11.94 kB / 0.8116 GB, free: 25.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.013e-05/0.4976, allocations: 35.58 kB / 0.8117 GB, free: 25.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.498, allocations: 99.25 kB / 0.8117 GB, free: 25.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.4986, allocations: 175.5 kB / 0.8119 GB, free: 24.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006182/0.4992, allocations: 499.7 kB / 0.8124 GB, free: 24.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/0.4996, allocations: 179.7 kB / 0.8126 GB, free: 24.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.4998, allocations: 135.2 kB / 0.8127 GB, free: 24.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.5, allocations: 147.1 kB / 0.8128 GB, free: 24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.782e-05/0.5, allocations: 16 kB / 0.8128 GB, free: 23.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.539e-05/0.5001, allocations: 12 kB / 0.8129 GB, free: 23.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.5002, allocations: 59.7 kB / 0.8129 GB, free: 23.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/0.5002, allocations: 109.4 kB / 0.813 GB, free: 23.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.5006, allocations: 425 kB / 0.8134 GB, free: 23.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.567e-06/0.5006, allocations: 7.922 kB / 0.8134 GB, free: 23.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.045e-06/0.5006, allocations: 0 / 0.8134 GB, free: 23.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.88e-06/0.5006, allocations: 0 / 0.8134 GB, free: 23.38 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001081/0.5017, allocations: 0.6919 MB / 0.8141 GB, free: 22.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.5018, allocations: 8.031 kB / 0.8141 GB, free: 22.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.5019, allocations: 55.34 kB / 0.8142 GB, free: 22.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.5025, allocations: 395.6 kB / 0.8145 GB, free: 22.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.5026, allocations: 29 kB / 0.8146 GB, free: 22.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.5026, allocations: 36 kB / 0.8146 GB, free: 22.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007447/0.5034, allocations: 397.5 kB / 0.815 GB, free: 21.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.5034, allocations: 7.984 kB / 0.815 GB, free: 21.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.5035, allocations: 20 kB / 0.815 GB, free: 21.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.5035, allocations: 12 kB / 0.815 GB, free: 21.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006836/0.5042, allocations: 263.8 kB / 0.8153 GB, free: 21.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.5061, allocations: 1.324 MB / 0.8166 GB, free: 19.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008062/0.5069, allocations: 314.6 kB / 0.8169 GB, free: 19.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.5073, allocations: 136.8 kB / 0.817 GB, free: 19.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.5073, allocations: 4 kB / 0.817 GB, free: 19.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004197/0.5078, allocations: 185.3 kB / 0.8172 GB, free: 19.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.787e-06/0.5078, allocations: 0 / 0.8172 GB, free: 19.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.001003/0.5088, allocations: 389.8 kB / 0.8176 GB, free: 18.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5089, allocations: 81.66 kB / 0.8176 GB, free: 18.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.5093, allocations: 349.6 kB / 0.818 GB, free: 18.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.5093, allocations: 37.7 kB / 0.818 GB, free: 18.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.5095, allocations: 232.4 kB / 0.8182 GB, free: 18.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.458e-05/0.5096, allocations: 106.5 kB / 0.8183 GB, free: 18.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.5096, allocations: 4 kB / 0.8183 GB, free: 18.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.5097, allocations: 354.8 kB / 0.8187 GB, free: 17.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.51, allocations: 104.6 kB / 0.8188 GB, free: 17.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.5103, allocations: 168.4 kB / 0.8189 GB, free: 17.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.5107, allocations: 113.6 kB / 0.819 GB, free: 17.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5107, allocations: 0 / 0.819 GB, free: 17.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007789/0.5115, allocations: 354.8 kB / 0.8194 GB, free: 16.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5115, allocations: 4 kB / 0.8194 GB, free: 16.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.272e-06/0.5115, allocations: 4 kB / 0.8194 GB, free: 16.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.5116, allocations: 4 kB / 0.8194 GB, free: 16.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.5119, allocations: 63.91 kB / 0.8194 GB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.5119, allocations: 7.953 kB / 0.8195 GB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.5122, allocations: 55.84 kB / 0.8195 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.5123, allocations: 8 kB / 0.8195 GB, free: 16.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002178/0.5125, allocations: 177.6 kB / 0.8197 GB, free: 16.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.5126, allocations: 43.47 kB / 0.8197 GB, free: 16.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.5127, allocations: 40.25 kB / 0.8198 GB, free: 16.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.696e-06/0.5127, allocations: 8 kB / 0.8198 GB, free: 16.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.5127, allocations: 3.938 kB / 0.8198 GB, free: 16.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5127, allocations: 7.938 kB / 0.8198 GB, free: 16.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.5141, allocations: 0.7998 MB / 0.8206 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.545e-06/0.5141, allocations: 0 / 0.8206 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.5144, allocations: 55.91 kB / 0.8206 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.646e-06/0.5144, allocations: 0 / 0.8206 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.5145, allocations: 11.98 kB / 0.8206 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.629e-06/0.5145, allocations: 3.953 kB / 0.8206 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.442e-06/0.5145, allocations: 0 / 0.8206 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.5155, allocations: 0.5186 MB / 0.8211 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.5157, allocations: 140.6 kB / 0.8213 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.5158, allocations: 4 kB / 0.8213 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.516, allocations: 19.98 kB / 0.8213 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/0.5161, allocations: 31.91 kB / 0.8213 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.5162, allocations: 8 kB / 0.8213 GB, free: 14.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002725/0.5164, allocations: 243.2 kB / 0.8216 GB, free: 14.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.5165, allocations: 0 / 0.8216 GB, free: 14.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004771/0.5169, allocations: 91.69 kB / 0.8216 GB, free: 14.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001159/0.5171, allocations: 103.2 kB / 0.8217 GB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006888/0.5178, allocations: 276.3 kB / 0.822 GB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.948e-06/0.5178, allocations: 0 / 0.822 GB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.5181, allocations: 135.8 kB / 0.8221 GB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.5188, allocations: 75.58 kB / 0.8222 GB, free: 13.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.5204, allocations: 0.9738 MB / 0.8232 GB, free: 12.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.5208, allocations: 0.8269 MB / 0.824 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000259/0.5211, allocations: 47.25 kB / 0.824 GB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.5213, allocations: 31.38 kB / 0.824 GB, free: 12.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.697e-06/0.5213, allocations: 0 / 0.824 GB, free: 12.04 MB / 378.7 MB Notification: Performance of Templates: time 0.009328/0.5306, allocations: 3.261 MB / 0.8272 GB, free: 8.805 MB / 378.7 MB