Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009952/0.000995, allocations: 184.4 kB / 327.3 MB, free: 2.207 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.741/1.741, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0009114/0.0009114, allocations: 87.11 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 10.53 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2016, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.002856/0.2045, allocations: 3.15 MB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.2064, allocations: 1.322 MB / 0.9052 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.2067, allocations: 23.88 kB / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.207, allocations: 87.11 kB / 0.9053 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.2074, allocations: 138 kB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008608/0.2082, allocations: 455.2 kB / 0.9059 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.2088, allocations: 0.8278 MB / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.2092, allocations: 258.9 kB / 0.9069 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.2094, allocations: 274.5 kB / 0.9072 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.2097, allocations: 262.3 kB / 0.9074 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.876e-05/0.2097, allocations: 20 kB / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.895e-05/0.2098, allocations: 20 kB / 0.9075 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.2099, allocations: 107.4 kB / 0.9076 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.934e-05/0.21, allocations: 141.3 kB / 0.9077 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.2103, allocations: 0.6197 MB / 0.9083 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2103, allocations: 4 kB / 0.9083 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2104, allocations: 4 kB / 0.9083 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.2104, allocations: 0 / 0.9083 GB, free: 56.2 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00157/0.2119, allocations: 1.067 MB / 0.9094 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.212, allocations: 12.03 kB / 0.9094 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.2121, allocations: 94.86 kB / 0.9095 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007412/0.2129, allocations: 0.5785 MB / 0.91 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.97e-05/0.213, allocations: 104.4 kB / 0.9101 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.213, allocations: 52 kB / 0.9102 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009324/0.214, allocations: 0.6118 MB / 0.9108 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.214, allocations: 0 / 0.9108 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.2141, allocations: 23.94 kB / 0.9108 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2141, allocations: 12 kB / 0.9108 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008254/0.2149, allocations: 439.7 kB / 0.9112 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.2171, allocations: 2.137 MB / 0.9133 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.2182, allocations: 0.5075 MB / 0.9138 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/0.2186, allocations: 229.3 kB / 0.914 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.2186, allocations: 7.953 kB / 0.914 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006047/0.2192, allocations: 297.9 kB / 0.9143 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 2.565e-06/0.2192, allocations: 0 / 0.9143 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.001257/0.2205, allocations: 0.6424 MB / 0.9149 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2206, allocations: 88.8 kB / 0.915 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/0.2211, allocations: 0.6062 MB / 0.9156 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.2212, allocations: 41.69 kB / 0.9157 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.2213, allocations: 356.8 kB / 0.916 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.2214, allocations: 157.7 kB / 0.9161 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.2215, allocations: 8 kB / 0.9162 GB, free: 47.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.2215, allocations: 329.9 kB / 0.9165 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.2219, allocations: 185 kB / 0.9166 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.2223, allocations: 284.2 kB / 0.9169 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.2227, allocations: 238.5 kB / 0.9171 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2227, allocations: 0 / 0.9171 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001002/0.2237, allocations: 0.6099 MB / 0.9177 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/0.2238, allocations: 199.8 kB / 0.9179 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2238, allocations: 0 / 0.9179 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2239, allocations: 8 kB / 0.9179 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.2243, allocations: 111.8 kB / 0.918 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2243, allocations: 7.953 kB / 0.9181 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.2247, allocations: 83.34 kB / 0.9181 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.2247, allocations: 16 kB / 0.9181 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.689e-06/0.2248, allocations: 4 kB / 0.9182 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000843/0.2256, allocations: 0.5038 MB / 0.9186 GB, free: 45.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.2256, allocations: 0 / 0.9186 GB, free: 45.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.2256, allocations: 8 kB / 0.9187 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.226, allocations: 103.8 kB / 0.9188 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2261, allocations: 8.234 kB / 0.9188 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.2264, allocations: 55.58 kB / 0.9188 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.2264, allocations: 23.94 kB / 0.9188 GB, free: 45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0002344/0.2267, allocations: 275 kB / 0.9191 GB, free: 44.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/0.2267, allocations: 79.06 kB / 0.9192 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.2269, allocations: 83.28 kB / 0.9193 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2269, allocations: 8 kB / 0.9193 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2269, allocations: 0 / 0.9193 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2269, allocations: 3.984 kB / 0.9193 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.2274, allocations: 0.6218 MB / 0.9199 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2274, allocations: 4 kB / 0.9199 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.2278, allocations: 91.81 kB / 0.92 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2278, allocations: 7.984 kB / 0.92 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.2279, allocations: 8 kB / 0.92 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2279, allocations: 8 kB / 0.92 GB, free: 43.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2279, allocations: 0 / 0.92 GB, free: 43.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.2292, allocations: 0.7435 MB / 0.9207 GB, free: 42.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.2294, allocations: 196 kB / 0.9209 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.2295, allocations: 12 kB / 0.9209 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.2299, allocations: 47.95 kB / 0.921 GB, free: 42.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.23, allocations: 27.95 kB / 0.921 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.23, allocations: 19.98 kB / 0.921 GB, free: 42.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003763/0.2304, allocations: 427 kB / 0.9214 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2304, allocations: 0 / 0.9214 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005291/0.2309, allocations: 215.4 kB / 0.9216 GB, free: 42.05 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00013/0.2311, allocations: 111.1 kB / 0.9217 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.2324, allocations: 0.8045 MB / 0.9225 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2324, allocations: 0 / 0.9225 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.2328, allocations: 228.5 kB / 0.9227 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008487/0.2337, allocations: 185.2 kB / 0.9229 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.2354, allocations: 1.424 MB / 0.9243 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.2357, allocations: 0.9221 MB / 0.9252 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.2358, allocations: 51.42 kB / 0.9252 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of SimCode: time 7.12e-07/0.2358, allocations: 0 / 0.9252 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.00977/0.2456, allocations: 8.597 MB / 0.9336 GB, free: 29.7 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)