Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 104 kB / 16.36 MB, free: 6.301 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.001768/0.001768, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2241, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.3805/0.6047, allocations: 3.725 MB / 0.7884 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.6074, allocations: 1.377 MB / 0.7898 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004344/0.6079, allocations: 28.69 kB / 0.7898 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.6083, allocations: 126.8 kB / 0.7899 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005015/0.6088, allocations: 173 kB / 0.7901 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.6099, allocations: 0.573 MB / 0.7906 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007606/0.6106, allocations: 0.9704 MB / 0.7916 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004408/0.6111, allocations: 346.6 kB / 0.7919 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.6114, allocations: 366.2 kB / 0.7923 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.6117, allocations: 353.3 kB / 0.7926 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.905e-05/0.6118, allocations: 77.31 kB / 0.7927 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.024e-05/0.6119, allocations: 78.28 kB / 0.7927 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.612, allocations: 178.6 kB / 0.7929 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.6123, allocations: 387.6 kB / 0.7933 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.6129, allocations: 0.8932 MB / 0.7941 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6129, allocations: 0 / 0.7941 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.874e-06/0.613, allocations: 0 / 0.7941 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.613, allocations: 0 / 0.7941 GB, free: 45.84 MB / 0.6544 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.001735/0.6147, allocations: 1.183 MB / 0.7953 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.6148, allocations: 11.06 kB / 0.7953 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.6149, allocations: 92.97 kB / 0.7954 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008597/0.6158, allocations: 0.6315 MB / 0.796 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.875e-05/0.6159, allocations: 101.2 kB / 0.7961 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.337e-05/0.6159, allocations: 51.25 kB / 0.7962 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009338/0.6169, allocations: 0.6019 MB / 0.7968 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.6169, allocations: 1.266 kB / 0.7968 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.617, allocations: 25.95 kB / 0.7968 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.617, allocations: 14.09 kB / 0.7968 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008548/0.6178, allocations: 426.9 kB / 0.7972 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.6202, allocations: 2.103 MB / 0.7993 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.6213, allocations: 0.4924 MB / 0.7997 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/0.6218, allocations: 220.7 kB / 0.7999 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.6218, allocations: 10.16 kB / 0.8 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006054/0.6224, allocations: 275.1 kB / 0.8002 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.174e-06/0.6225, allocations: 0 / 0.8002 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.001381/0.6238, allocations: 0.6127 MB / 0.8008 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.6239, allocations: 86.92 kB / 0.8009 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007478/0.6246, allocations: 0.6138 MB / 0.8015 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.6247, allocations: 35.64 kB / 0.8015 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.6249, allocations: 368.8 kB / 0.8019 GB, free: 41.56 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.6251, allocations: 155.9 kB / 0.802 GB, free: 41.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.6252, allocations: 96.38 kB / 0.8021 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.6253, allocations: 323.8 kB / 0.8024 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/0.6257, allocations: 182.3 kB / 0.8026 GB, free: 41.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.6262, allocations: 280.9 kB / 0.8029 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008697/0.6271, allocations: 478.5 kB / 0.8033 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6271, allocations: 5.031 kB / 0.8033 GB, free: 40.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00121/0.6283, allocations: 0.6009 MB / 0.8039 GB, free: 40.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.6284, allocations: 32.95 kB / 0.804 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.6284, allocations: 4.094 kB / 0.804 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.6284, allocations: 9.266 kB / 0.804 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.6289, allocations: 105.5 kB / 0.8041 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.629, allocations: 10.44 kB / 0.8041 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.6294, allocations: 64.34 kB / 0.8041 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.6294, allocations: 19.45 kB / 0.8042 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005361/0.63, allocations: 309.4 kB / 0.8045 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004127/0.6304, allocations: 269.2 kB / 0.8047 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007712/0.6312, allocations: 458.4 kB / 0.8051 GB, free: 39.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.6312, allocations: 1.156 kB / 0.8051 GB, free: 39.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001072/0.6322, allocations: 0.5754 MB / 0.8057 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.6323, allocations: 39.02 kB / 0.8057 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6323, allocations: 2.875 kB / 0.8057 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.6323, allocations: 6.031 kB / 0.8058 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.6328, allocations: 107.4 kB / 0.8059 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6328, allocations: 10.03 kB / 0.8059 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.6332, allocations: 50.22 kB / 0.8059 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.6332, allocations: 19.5 kB / 0.8059 GB, free: 39.22 MB / 0.6544 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.6334, allocations: 210.5 kB / 0.8061 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.6335, allocations: 69.84 kB / 0.8062 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.6336, allocations: 80.36 kB / 0.8063 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6337, allocations: 4.562 kB / 0.8063 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.6337, allocations: 5.469 kB / 0.8063 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.6337, allocations: 2.625 kB / 0.8063 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007365/0.6344, allocations: 0.6271 MB / 0.8069 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6344, allocations: 1.672 kB / 0.8069 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/0.6349, allocations: 82.55 kB / 0.807 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.6349, allocations: 2.156 kB / 0.807 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.635, allocations: 18.69 kB / 0.807 GB, free: 38.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.635, allocations: 1.469 kB / 0.807 GB, free: 38.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.635, allocations: 2.031 kB / 0.807 GB, free: 38.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.6366, allocations: 0.7258 MB / 0.8077 GB, free: 38.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.6368, allocations: 192 kB / 0.8079 GB, free: 38.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.98e-05/0.6369, allocations: 12 kB / 0.8079 GB, free: 38.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.6373, allocations: 30.53 kB / 0.8079 GB, free: 38.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.6374, allocations: 34.84 kB / 0.808 GB, free: 38.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.6374, allocations: 13.5 kB / 0.808 GB, free: 38.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005613/0.638, allocations: 435.4 kB / 0.8084 GB, free: 37.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/0.638, allocations: 0 / 0.8084 GB, free: 37.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006997/0.6387, allocations: 222.5 kB / 0.8086 GB, free: 37.77 MB / 0.6544 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 (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.0001407/0.6389, allocations: 112.5 kB / 0.8087 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.6405, allocations: 0.7872 MB / 0.8095 GB, free: 37.33 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6405, allocations: 0 / 0.8095 GB, free: 37.33 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.641, allocations: 222.7 kB / 0.8097 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009087/0.642, allocations: 211.5 kB / 0.8099 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.6441, allocations: 1.219 MB / 0.8111 GB, free: 36.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.6445, allocations: 0.9186 MB / 0.812 GB, free: 35.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.6447, allocations: 54.77 kB / 0.812 GB, free: 35.79 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.6447, allocations: 0 / 0.812 GB, free: 35.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.0182/0.6629, allocations: 8.679 MB / 0.8205 GB, free: 35.07 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)