Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009674/0.0009674, allocations: 181.2 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009218/0.0009218, allocations: 97.16 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 8.5 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2142, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002897/0.2171, allocations: 2.853 MB / 0.8995 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.2187, allocations: 0.9863 MB / 0.9005 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.219, allocations: 11.94 kB / 0.9005 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.2192, allocations: 59.44 kB / 0.9005 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.2194, allocations: 71.44 kB / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.2199, allocations: 217.6 kB / 0.9008 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.2202, allocations: 0.5075 MB / 0.9013 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.2205, allocations: 239.3 kB / 0.9015 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.2207, allocations: 143.1 kB / 0.9017 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.2208, allocations: 158.9 kB / 0.9018 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.2209, allocations: 12 kB / 0.9018 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.506e-05/0.2209, allocations: 12 kB / 0.9019 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.221, allocations: 59.64 kB / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.2211, allocations: 190.7 kB / 0.9021 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.2213, allocations: 411 kB / 0.9025 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2213, allocations: 4 kB / 0.9025 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2213, allocations: 0 / 0.9025 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2214, allocations: 4 kB / 0.9025 GB, free: 62.28 MB / 0.6042 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.0008965/0.2223, allocations: 0.692 MB / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2223, allocations: 12.03 kB / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.647e-05/0.2224, allocations: 56.28 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.2228, allocations: 408.6 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.2229, allocations: 37.36 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.2229, allocations: 44.38 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.2235, allocations: 390 kB / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.2235, allocations: 7.938 kB / 0.9041 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.2235, allocations: 16 kB / 0.9041 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2236, allocations: 8 kB / 0.9041 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.224, allocations: 267.9 kB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.2254, allocations: 1.328 MB / 0.9057 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.226, allocations: 311.1 kB / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.2262, allocations: 144.8 kB / 0.9061 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.2263, allocations: 4 kB / 0.9061 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003025/0.2266, allocations: 173.5 kB / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.103e-06/0.2266, allocations: 0 / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0006846/0.2273, allocations: 393.7 kB / 0.9066 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.2273, allocations: 89.11 kB / 0.9067 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.2276, allocations: 345.6 kB / 0.907 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.2276, allocations: 37.69 kB / 0.9071 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2278, allocations: 232.3 kB / 0.9073 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.2278, allocations: 102.5 kB / 0.9074 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.2279, allocations: 49.69 kB / 0.9075 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.228, allocations: 346.8 kB / 0.9078 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.2282, allocations: 108.6 kB / 0.9079 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.2284, allocations: 172.4 kB / 0.9081 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.2288, allocations: 268.4 kB / 0.9083 GB, free: 56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2288, allocations: 0 / 0.9083 GB, free: 56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005027/0.2293, allocations: 358.5 kB / 0.9086 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2293, allocations: 4 kB / 0.9087 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2294, allocations: 4 kB / 0.9087 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2294, allocations: 4 kB / 0.9087 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.2296, allocations: 72.03 kB / 0.9087 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2296, allocations: 7.984 kB / 0.9087 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.2298, allocations: 43.67 kB / 0.9088 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.2299, allocations: 12 kB / 0.9088 GB, free: 55.5 MB / 0.6042 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.0001518/0.23, allocations: 169.7 kB / 0.909 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.2301, allocations: 39.53 kB / 0.909 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.866e-05/0.2301, allocations: 48.25 kB / 0.909 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2302, allocations: 4 kB / 0.909 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2302, allocations: 0 / 0.909 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2302, allocations: 7.969 kB / 0.909 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008839/0.2311, allocations: 0.8141 MB / 0.9098 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2311, allocations: 4 kB / 0.9098 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.2313, allocations: 51.92 kB / 0.9099 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.2313, allocations: 0 / 0.9099 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.2313, allocations: 7.984 kB / 0.9099 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2313, allocations: 4 kB / 0.9099 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2314, allocations: 0 / 0.9099 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.232, allocations: 0.5158 MB / 0.9104 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-05/0.2321, allocations: 136.6 kB / 0.9105 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.2322, allocations: 8 kB / 0.9105 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.2324, allocations: 23.98 kB / 0.9106 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.2325, allocations: 35.95 kB / 0.9106 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.2325, allocations: 8 kB / 0.9106 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001955/0.2327, allocations: 243.2 kB / 0.9108 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2327, allocations: 0 / 0.9108 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002923/0.233, allocations: 91.62 kB / 0.9109 GB, free: 53.21 MB / 0.6042 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.0001065/0.2331, allocations: 105.1 kB / 0.911 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004756/0.2336, allocations: 279.9 kB / 0.9113 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2336, allocations: 3.938 kB / 0.9113 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.2338, allocations: 131.9 kB / 0.9114 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.2343, allocations: 80.48 kB / 0.9115 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.2356, allocations: 1.003 MB / 0.9125 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.2358, allocations: 0.8074 MB / 0.9133 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.496e-05/0.2359, allocations: 35.42 kB / 0.9133 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.2359, allocations: 0 / 0.9133 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.005538/0.2415, allocations: 4.773 MB / 0.918 GB, free: 45.95 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)