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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.001182/0.001182, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001441/0.001441, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.996/0.996, allocations: 143.3 MB / 434.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003343, allocations: 12 kB / 0.5158 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1917, allocations: 83.42 MB / 0.5973 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003394/0.1952, allocations: 2.611 MB / 0.5998 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1968, allocations: 0.8926 MB / 0.6007 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.1971, allocations: 15.94 kB / 0.6007 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.45e-05/0.1972, allocations: 35.58 kB / 0.6008 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004293/0.1976, allocations: 111.6 kB / 0.6009 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.198, allocations: 171.7 kB / 0.601 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004507/0.1985, allocations: 340.5 kB / 0.6013 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.1988, allocations: 179.7 kB / 0.6015 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.199, allocations: 151.2 kB / 0.6017 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.1992, allocations: 143.1 kB / 0.6018 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.1993, allocations: 19.94 kB / 0.6018 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.669e-05/0.1993, allocations: 12 kB / 0.6018 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.1994, allocations: 55.7 kB / 0.6019 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.219e-05/0.1995, allocations: 101.5 kB / 0.602 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.1999, allocations: 474.9 kB / 0.6024 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1999, allocations: 4 kB / 0.6024 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1999, allocations: 0 / 0.6024 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.1999, allocations: 0 / 0.6024 GB, free: 2.469 MB / 0.4981 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.00112/0.201, allocations: 0.6881 MB / 0.6031 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2011, allocations: 8.031 kB / 0.6031 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.783e-05/0.2012, allocations: 55.34 kB / 0.6032 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.2018, allocations: 399.5 kB / 0.6035 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.2018, allocations: 33 kB / 0.6036 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/0.2019, allocations: 36 kB / 0.6036 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006346/0.2025, allocations: 389.6 kB / 0.604 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.2025, allocations: 0 / 0.604 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.2026, allocations: 20 kB / 0.604 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.2026, allocations: 12 kB / 0.604 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005293/0.2031, allocations: 267.8 kB / 0.6043 GB, free: 484 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3146/0.5178, allocations: 1.317 MB / 0.6056 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005863/0.5184, allocations: 312.9 kB / 0.6059 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.5184, allocations: 3.406 kB / 0.6059 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003542/0.5188, allocations: 177.4 kB / 0.606 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.965e-06/0.5188, allocations: 0.6094 kB / 0.606 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007238/0.5195, allocations: 390 kB / 0.6064 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.5196, allocations: 86.59 kB / 0.6065 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.5199, allocations: 349 kB / 0.6068 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.5199, allocations: 35.27 kB / 0.6069 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.52, allocations: 233.8 kB / 0.6071 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.871e-05/0.5201, allocations: 106.1 kB / 0.6072 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.5201, allocations: 10.19 kB / 0.6072 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.5202, allocations: 350.8 kB / 0.6075 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.5204, allocations: 104.1 kB / 0.6076 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.5206, allocations: 168.6 kB / 0.6078 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.5208, allocations: 112.3 kB / 0.6079 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5208, allocations: 3.625 kB / 0.6079 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005083/0.5213, allocations: 353 kB / 0.6082 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.5214, allocations: 5.938 kB / 0.6082 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5214, allocations: 2.906 kB / 0.6082 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.5214, allocations: 5.281 kB / 0.6082 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.5217, allocations: 63.8 kB / 0.6083 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.5217, allocations: 7.016 kB / 0.6083 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.5219, allocations: 49.94 kB / 0.6084 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.5219, allocations: 13.69 kB / 0.6084 GB, free: 39.18 MB / 0.4981 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.0001525/0.5221, allocations: 174.5 kB / 0.6085 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.5221, allocations: 38.69 kB / 0.6086 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.773e-05/0.5222, allocations: 41.31 kB / 0.6086 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.5222, allocations: 2.938 kB / 0.6086 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5222, allocations: 4.406 kB / 0.6086 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.5222, allocations: 7.422 kB / 0.6086 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008926/0.5231, allocations: 0.8102 MB / 0.6094 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5231, allocations: 0 / 0.6094 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.5234, allocations: 47.5 kB / 0.6095 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5234, allocations: 2.938 kB / 0.6095 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.5234, allocations: 10.94 kB / 0.6095 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.5234, allocations: 4.703 kB / 0.6095 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5234, allocations: 1.531 kB / 0.6095 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.5241, allocations: 0.5226 MB / 0.61 GB, free: 38.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.5243, allocations: 138.9 kB / 0.6101 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.5243, allocations: 9.484 kB / 0.6101 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.5245, allocations: 18.77 kB / 0.6102 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.5246, allocations: 28.8 kB / 0.6102 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.5246, allocations: 12 kB / 0.6102 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001815/0.5248, allocations: 242.6 kB / 0.6104 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5248, allocations: 3 kB / 0.6104 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003215/0.5251, allocations: 85.59 kB / 0.6105 GB, free: 38.34 MB / 0.4981 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.0001039/0.5252, allocations: 111.1 kB / 0.6106 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004913/0.5257, allocations: 267.9 kB / 0.6109 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5257, allocations: 0 / 0.6109 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.526, allocations: 136.4 kB / 0.611 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.5264, allocations: 78.31 kB / 0.6111 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.5276, allocations: 0.9697 MB / 0.612 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.5278, allocations: 0.8183 MB / 0.6128 GB, free: 36.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.528, allocations: 47.92 kB / 0.6129 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.98e-05/0.5281, allocations: 30.22 kB / 0.6129 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.5281, allocations: 0 / 0.6129 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.005805/0.5339, allocations: 3.243 MB / 0.6161 GB, free: 36.81 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) Environment - environmentSimulation: