Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 105.9 kB / 16.36 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 193.4 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9028/0.9028, allocations: 143.1 MB / 434.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 59.91 kB / 0.5156 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3689, allocations: 82.03 MB / 0.5957 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003926/0.3729, allocations: 3.133 MB / 0.5987 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3744, allocations: 0.9657 MB / 0.5997 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.3747, allocations: 11.94 kB / 0.5997 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.3749, allocations: 72.55 kB / 0.5998 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.3751, allocations: 92.88 kB / 0.5999 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.3756, allocations: 243.2 kB / 0.6001 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.376, allocations: 0.5556 MB / 0.6006 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.3764, allocations: 263.8 kB / 0.6009 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.3766, allocations: 212.6 kB / 0.6011 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.3768, allocations: 199 kB / 0.6013 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.3769, allocations: 52 kB / 0.6013 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.881e-05/0.3769, allocations: 53.09 kB / 0.6014 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.377, allocations: 115.5 kB / 0.6015 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.3771, allocations: 226.8 kB / 0.6017 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.3776, allocations: 0.623 MB / 0.6023 GB, free: 9.484 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3776, allocations: 0 / 0.6023 GB, free: 9.484 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3776, allocations: 0 / 0.6023 GB, free: 9.484 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3776, allocations: 0 / 0.6023 GB, free: 9.484 MB / 446.1 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.001116/0.3787, allocations: 0.7642 MB / 0.6031 GB, free: 8.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3788, allocations: 13.53 kB / 0.6031 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.3789, allocations: 52.28 kB / 0.6031 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005613/0.3794, allocations: 418.9 kB / 0.6035 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.3795, allocations: 29.38 kB / 0.6035 GB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.3796, allocations: 44.27 kB / 0.6036 GB, free: 8.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.3801, allocations: 397.4 kB / 0.604 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3801, allocations: 0 / 0.604 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.3802, allocations: 16 kB / 0.604 GB, free: 7.672 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3802, allocations: 11.94 kB / 0.604 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.3807, allocations: 265.3 kB / 0.6042 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.382, allocations: 1.306 MB / 0.6055 GB, free: 6.027 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005891/0.3826, allocations: 308 kB / 0.6058 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.3828, allocations: 140.8 kB / 0.6059 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.3829, allocations: 0 / 0.6059 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000274/0.3832, allocations: 175.7 kB / 0.6061 GB, free: 5.398 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.3832, allocations: 1.531 kB / 0.6061 GB, free: 5.398 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.000676/0.3839, allocations: 386.5 kB / 0.6065 GB, free: 5.016 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.3839, allocations: 86.45 kB / 0.6066 GB, free: 4.914 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.3842, allocations: 349.6 kB / 0.6069 GB, free: 4.562 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.3842, allocations: 38.78 kB / 0.6069 GB, free: 4.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3844, allocations: 236.8 kB / 0.6072 GB, free: 4.285 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.3844, allocations: 106.5 kB / 0.6073 GB, free: 4.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.3845, allocations: 75.06 kB / 0.6073 GB, free: 4.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.3846, allocations: 348.3 kB / 0.6077 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.3848, allocations: 100.7 kB / 0.6078 GB, free: 3.652 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.385, allocations: 174.9 kB / 0.6079 GB, free: 3.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.3854, allocations: 259.2 kB / 0.6082 GB, free: 3.188 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3854, allocations: 2.625 kB / 0.6082 GB, free: 3.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004893/0.3859, allocations: 346.5 kB / 0.6085 GB, free: 2.844 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3859, allocations: 14.69 kB / 0.6085 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3859, allocations: 0 / 0.6085 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.386, allocations: 7.984 kB / 0.6085 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.3862, allocations: 67.84 kB / 0.6086 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3862, allocations: 4 kB / 0.6086 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.3864, allocations: 39.67 kB / 0.6086 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.3864, allocations: 13.5 kB / 0.6087 GB, free: 2.703 MB / 446.1 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 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.3866, allocations: 173.7 kB / 0.6088 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.3866, allocations: 40.19 kB / 0.6089 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.272e-05/0.3867, allocations: 44.8 kB / 0.6089 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3867, allocations: 4.906 kB / 0.6089 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3867, allocations: 0 / 0.6089 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3868, allocations: 0 / 0.6089 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008794/0.3876, allocations: 0.8092 MB / 0.6097 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3876, allocations: 0 / 0.6097 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.3879, allocations: 47.92 kB / 0.6097 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3879, allocations: 9.703 kB / 0.6098 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.3879, allocations: 8 kB / 0.6098 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3879, allocations: 0 / 0.6098 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3879, allocations: 0 / 0.6098 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.3886, allocations: 0.5202 MB / 0.6103 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3887, allocations: 137.4 kB / 0.6104 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.3888, allocations: 8 kB / 0.6104 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.3889, allocations: 17.11 kB / 0.6104 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.389, allocations: 23.95 kB / 0.6104 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3891, allocations: 16.47 kB / 0.6105 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.3892, allocations: 239.9 kB / 0.6107 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.232e-06/0.3893, allocations: 0 / 0.6107 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003249/0.3896, allocations: 100.2 kB / 0.6108 GB, free: 436 kB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001031/0.3897, allocations: 104.2 kB / 0.6109 GB, free: 324 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004684/0.3902, allocations: 274.4 kB / 0.6111 GB, free: 52 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3902, allocations: 0 / 0.6111 GB, free: 52 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.3904, allocations: 132.5 kB / 0.6113 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.391, allocations: 84.58 kB / 0.6114 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3924, allocations: 0.8093 MB / 0.6121 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3927, allocations: 0.8074 MB / 0.6129 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.3929, allocations: 47.25 kB / 0.613 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.393, allocations: 35.42 kB / 0.613 GB, free: 14.12 MB / 462.1 MB Notification: Performance of SimCode: time 2.6e-07/0.393, allocations: 0 / 0.613 GB, free: 14.12 MB / 462.1 MB Notification: Performance of Templates: time 0.007928/0.4009, allocations: 3.637 MB / 0.6166 GB, free: 10.54 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)