Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001185/0.001185, allocations: 110.5 kB / 16.41 MB, free: 5.984 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.001102/0.001102, allocations: 193 kB / 17.34 MB, free: 5.602 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7755/0.7755, allocations: 126.1 MB / 417.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 63.03 kB / 0.573 GB, free: 27.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1886, allocations: 78.7 MB / 0.6499 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004686/0.1933, allocations: 3.117 MB / 0.6529 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1953, allocations: 0.9738 MB / 0.6539 GB, free: 12 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002923/0.1956, allocations: 11.94 kB / 0.6539 GB, free: 0 / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.1959, allocations: 71.36 kB / 0.654 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1961, allocations: 95.09 kB / 0.6541 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.1967, allocations: 241.5 kB / 0.6543 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.1972, allocations: 0.5542 MB / 0.6548 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004227/0.1977, allocations: 251.5 kB / 0.6551 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.1979, allocations: 203.1 kB / 0.6553 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.1982, allocations: 206.8 kB / 0.6555 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.333e-05/0.1982, allocations: 52 kB / 0.6555 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.828e-05/0.1983, allocations: 56 kB / 0.6556 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.151e-05/0.1984, allocations: 111.6 kB / 0.6557 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.1986, allocations: 238.7 kB / 0.6559 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006561/0.1993, allocations: 0.5874 MB / 0.6565 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1993, allocations: 0 / 0.6565 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1993, allocations: 0 / 0.6565 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.1993, allocations: 0 / 0.6565 GB, free: 13.35 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.001212/0.2005, allocations: 0.7851 MB / 0.6572 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2006, allocations: 12.03 kB / 0.6573 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.695e-05/0.2007, allocations: 60.56 kB / 0.6573 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.2013, allocations: 412.9 kB / 0.6577 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.2014, allocations: 29.38 kB / 0.6577 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.2014, allocations: 40.38 kB / 0.6578 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.2021, allocations: 401.9 kB / 0.6582 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.2021, allocations: 4 kB / 0.6582 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.2022, allocations: 19.98 kB / 0.6582 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.2022, allocations: 8 kB / 0.6582 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.2027, allocations: 263.8 kB / 0.6584 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.2044, allocations: 1.301 MB / 0.6597 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.205, allocations: 323 kB / 0.66 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.2053, allocations: 140.7 kB / 0.6602 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.2053, allocations: 11.98 kB / 0.6602 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003148/0.2057, allocations: 177.5 kB / 0.6603 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.2057, allocations: 0 / 0.6603 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.000817/0.2065, allocations: 386.8 kB / 0.6607 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.2066, allocations: 85.66 kB / 0.6608 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.2069, allocations: 353.6 kB / 0.6611 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.207, allocations: 37.7 kB / 0.6612 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.2071, allocations: 236.8 kB / 0.6614 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/0.2072, allocations: 107.1 kB / 0.6615 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.2073, allocations: 74.06 kB / 0.6616 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2075, allocations: 346.8 kB / 0.6619 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.2077, allocations: 104.7 kB / 0.662 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.208, allocations: 164.6 kB / 0.6621 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.2084, allocations: 259.8 kB / 0.6624 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2085, allocations: 0 / 0.6624 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006069/0.2091, allocations: 366.6 kB / 0.6627 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2091, allocations: 5.875 kB / 0.6627 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2091, allocations: 0 / 0.6627 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2091, allocations: 4 kB / 0.6628 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.2094, allocations: 63.91 kB / 0.6628 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.2094, allocations: 3.938 kB / 0.6628 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.2096, allocations: 43.77 kB / 0.6629 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.2096, allocations: 8.188 kB / 0.6629 GB, free: 6.488 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 (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.0001748/0.2098, allocations: 189.2 kB / 0.663 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.2099, allocations: 39.77 kB / 0.6631 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.702e-05/0.21, allocations: 40.25 kB / 0.6631 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.21, allocations: 7.984 kB / 0.6631 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.21, allocations: 0 / 0.6631 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.21, allocations: 3.984 kB / 0.6631 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.2111, allocations: 0.812 MB / 0.6639 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2111, allocations: 4 kB / 0.6639 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.2113, allocations: 47.91 kB / 0.664 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2113, allocations: 7.938 kB / 0.664 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.2114, allocations: 4 kB / 0.664 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.2114, allocations: 4 kB / 0.664 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2114, allocations: 0 / 0.664 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008099/0.2122, allocations: 0.5198 MB / 0.6645 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.2123, allocations: 144.7 kB / 0.6646 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/0.2124, allocations: 8 kB / 0.6646 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.2126, allocations: 15.98 kB / 0.6647 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.2127, allocations: 23.97 kB / 0.6647 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.2127, allocations: 11.98 kB / 0.6647 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000226/0.2129, allocations: 247.2 kB / 0.6649 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2129, allocations: 0 / 0.6649 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003341/0.2133, allocations: 83.78 kB / 0.665 GB, free: 4.191 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 (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.0001151/0.2134, allocations: 119 kB / 0.6651 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005534/0.2139, allocations: 260.1 kB / 0.6654 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.214, allocations: 4 kB / 0.6654 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.2142, allocations: 135.8 kB / 0.6655 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.2147, allocations: 83.89 kB / 0.6656 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.2162, allocations: 0.8185 MB / 0.6664 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.2166, allocations: 0.8113 MB / 0.6672 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.2167, allocations: 43.27 kB / 0.6672 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.137e-05/0.2168, allocations: 27.44 kB / 0.6672 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2168, allocations: 0 / 0.6672 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of Templates: time 0.008055/0.2249, allocations: 3.708 MB / 0.6709 GB, free: 14.16 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)