Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.95/4.95, allocations: 0.5623 GB / 0.5769 GB, free: 3.301 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002371/0.002371, allocations: 356.6 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.354/4.354, allocations: 410.7 MB / 1.112 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001754/0.001754, allocations: 185.7 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004922, allocations: 8 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6078, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003157/0.611, allocations: 2.664 MB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.6129, allocations: 0.9255 MB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.6133, allocations: 13 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.339e-05/0.6134, allocations: 35.58 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.6138, allocations: 97.92 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.6143, allocations: 171.3 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004681/0.6148, allocations: 0.4887 MB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.6151, allocations: 180.1 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.6153, allocations: 135.2 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.6155, allocations: 151.1 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.687e-05/0.6156, allocations: 12.56 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.644e-05/0.6157, allocations: 12.88 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.6157, allocations: 63.69 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.578e-05/0.6158, allocations: 103.4 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.6162, allocations: 413.1 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.183e-06/0.6162, allocations: 5.219 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.684e-06/0.6162, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.383e-06/0.6162, allocations: 4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB 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.001096/0.6173, allocations: 0.6894 MB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6174, allocations: 19.55 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.6175, allocations: 55.34 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006259/0.6182, allocations: 397.9 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.6182, allocations: 33 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.6183, allocations: 36 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007738/0.6191, allocations: 395.8 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.6191, allocations: 1.25 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.6192, allocations: 16 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.6192, allocations: 8 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.62, allocations: 270.8 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.622, allocations: 1.325 MB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008208/0.6228, allocations: 315.5 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.6232, allocations: 142.4 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.6232, allocations: 4 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.6237, allocations: 184.6 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 4.309e-06/0.6237, allocations: 0 / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.001008/0.6247, allocations: 387.5 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.6248, allocations: 82.77 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.6252, allocations: 345.7 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.6252, allocations: 33.7 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.6254, allocations: 236.3 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.6255, allocations: 109 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.6255, allocations: 7.938 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.6256, allocations: 350.8 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.6259, allocations: 100.7 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.6263, allocations: 174.5 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.6266, allocations: 116.4 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.042e-06/0.6266, allocations: 0 / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009046/0.6275, allocations: 348.7 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.6276, allocations: 5.844 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.791e-06/0.6276, allocations: 0 / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.6276, allocations: 4 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.628, allocations: 71.89 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.628, allocations: 4 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.6283, allocations: 42.42 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.6283, allocations: 17.17 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB 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.0002353/0.6286, allocations: 171.1 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.6287, allocations: 39.53 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.606e-05/0.6288, allocations: 49.69 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.6288, allocations: 0.6562 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.6288, allocations: 4 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.6288, allocations: 7.188 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.6302, allocations: 0.8064 MB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.19e-06/0.6302, allocations: 0 / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.6306, allocations: 52.48 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.205e-06/0.6306, allocations: 4.609 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.6306, allocations: 8.812 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.417e-06/0.6306, allocations: 0 / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.363e-06/0.6306, allocations: 0 / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.6317, allocations: 0.521 MB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.6319, allocations: 138.2 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.632, allocations: 8 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.6323, allocations: 21.02 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-05/0.6324, allocations: 27.95 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.6324, allocations: 8.531 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002777/0.6327, allocations: 244 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.26e-07/0.6327, allocations: 0 / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004679/0.6332, allocations: 90.25 kB / 1.474 GB, free: 270.1 MB / 0.8542 GB 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.0001222/0.6333, allocations: 112.2 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006725/0.634, allocations: 271.1 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.169e-06/0.6341, allocations: 1.25 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.6344, allocations: 131.9 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.635, allocations: 83.64 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.6367, allocations: 0.9633 MB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.637, allocations: 0.8248 MB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002429/0.6373, allocations: 47.75 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.6374, allocations: 35.38 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of SimCode: time 2.672e-06/0.6374, allocations: 0 / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.009155/0.6465, allocations: 3.247 MB / 1.48 GB, free: 264.7 MB / 0.8542 GB