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.001078/0.001078, allocations: 106.5 kB / 15.99 MB, free: 5.914 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.001129/0.001129, allocations: 194 kB / 16.91 MB, free: 5.758 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.501/1.501, allocations: 205.1 MB / 222.8 MB, free: 12.44 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.788/1.788, allocations: 292.3 MB / 0.5492 GB, free: 17.75 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.001376/0.001376, allocations: 67.03 kB / 0.6716 GB, free: 6.953 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2819, allocations: 114.6 MB / 0.7835 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005142/0.2871, allocations: 3.742 MB / 0.7872 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4251/0.7123, allocations: 1.336 MB / 0.7885 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000514/0.7128, allocations: 30.44 kB / 0.7885 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.7132, allocations: 87.75 kB / 0.7886 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004912/0.7137, allocations: 145.9 kB / 0.7887 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.7148, allocations: 0.5252 MB / 0.7892 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007893/0.7156, allocations: 0.9678 MB / 0.7902 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.7161, allocations: 352.6 kB / 0.7905 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003605/0.7165, allocations: 369.6 kB / 0.7909 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.7168, allocations: 354.8 kB / 0.7912 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.824e-05/0.7169, allocations: 78.31 kB / 0.7913 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.717, allocations: 76.5 kB / 0.7913 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.7171, allocations: 182.9 kB / 0.7915 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.7173, allocations: 382.3 kB / 0.7919 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000527/0.7179, allocations: 0.6531 MB / 0.7925 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7179, allocations: 0 / 0.7925 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7179, allocations: 0 / 0.7925 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.7179, allocations: 1.344 kB / 0.7925 GB, free: 45.36 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.001779/0.7197, allocations: 1.19 MB / 0.7937 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.7197, allocations: 6.844 kB / 0.7937 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.7199, allocations: 97.09 kB / 0.7938 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007647/0.7207, allocations: 0.6058 MB / 0.7944 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.995e-05/0.7208, allocations: 97.38 kB / 0.7945 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.058e-05/0.7208, allocations: 50.56 kB / 0.7945 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009335/0.7218, allocations: 0.6096 MB / 0.7951 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.7218, allocations: 2.625 kB / 0.7951 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.7219, allocations: 22.44 kB / 0.7951 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.7219, allocations: 10.19 kB / 0.7951 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007999/0.7227, allocations: 425.2 kB / 0.7956 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.725, allocations: 2.123 MB / 0.7976 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.7261, allocations: 494.7 kB / 0.7981 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004283/0.7266, allocations: 229.5 kB / 0.7983 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/0.7266, allocations: 3.906 kB / 0.7983 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007215/0.7274, allocations: 281.6 kB / 0.7986 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.414e-06/0.7274, allocations: 0 / 0.7986 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.00143/0.7288, allocations: 0.6113 MB / 0.7992 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.7289, allocations: 86.72 kB / 0.7993 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007758/0.7297, allocations: 0.621 MB / 0.7999 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.7297, allocations: 33.3 kB / 0.7999 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.73, allocations: 364.5 kB / 0.8003 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.7301, allocations: 162.6 kB / 0.8004 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.7303, allocations: 93.86 kB / 0.8005 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.7303, allocations: 321.5 kB / 0.8008 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.7308, allocations: 183.9 kB / 0.801 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.7313, allocations: 284.6 kB / 0.8013 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008745/0.7321, allocations: 474.5 kB / 0.8017 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7322, allocations: 0.5625 kB / 0.8017 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001185/0.7333, allocations: 0.6009 MB / 0.8023 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.7334, allocations: 41.22 kB / 0.8023 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.7334, allocations: 5.938 kB / 0.8023 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.7335, allocations: 5.625 kB / 0.8023 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.734, allocations: 112.2 kB / 0.8025 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.734, allocations: 6.906 kB / 0.8025 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.7344, allocations: 65.05 kB / 0.8025 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.7345, allocations: 18.31 kB / 0.8025 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006147/0.7351, allocations: 314.5 kB / 0.8028 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000484/0.7356, allocations: 260.1 kB / 0.8031 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008084/0.7364, allocations: 454 kB / 0.8035 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.7364, allocations: 3.438 kB / 0.8035 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001117/0.7375, allocations: 0.5819 MB / 0.8041 GB, free: 39.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.7376, allocations: 33.56 kB / 0.8041 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.7376, allocations: 3.453 kB / 0.8041 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.7376, allocations: 5.062 kB / 0.8041 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.7381, allocations: 108 kB / 0.8042 GB, free: 39.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.7381, allocations: 9.969 kB / 0.8042 GB, free: 39.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.7384, allocations: 51.22 kB / 0.8043 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.7385, allocations: 20.38 kB / 0.8043 GB, free: 39.1 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.000197/0.7387, allocations: 215 kB / 0.8045 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.7388, allocations: 72.05 kB / 0.8046 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.739, allocations: 84.78 kB / 0.8047 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.739, allocations: 3.594 kB / 0.8047 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.739, allocations: 0.8438 kB / 0.8047 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.739, allocations: 2.766 kB / 0.8047 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008267/0.7399, allocations: 0.6229 MB / 0.8053 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7399, allocations: 0 / 0.8053 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.7403, allocations: 84.58 kB / 0.8054 GB, free: 38.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.7404, allocations: 1.938 kB / 0.8054 GB, free: 38.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.7404, allocations: 13.2 kB / 0.8054 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.7404, allocations: 1.625 kB / 0.8054 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7404, allocations: 4.703 kB / 0.8054 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.7419, allocations: 0.7285 MB / 0.8061 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.7422, allocations: 191.4 kB / 0.8063 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.019e-05/0.7423, allocations: 7.938 kB / 0.8063 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.7427, allocations: 36.55 kB / 0.8063 GB, free: 37.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.7428, allocations: 36.48 kB / 0.8064 GB, free: 37.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.7428, allocations: 17.89 kB / 0.8064 GB, free: 37.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005882/0.7434, allocations: 437.4 kB / 0.8068 GB, free: 37.72 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7434, allocations: 4 kB / 0.8068 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007092/0.7441, allocations: 219.9 kB / 0.807 GB, free: 37.66 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.0001533/0.7443, allocations: 116.7 kB / 0.8071 GB, free: 37.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.7461, allocations: 0.8023 MB / 0.8079 GB, free: 37.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7461, allocations: 0.6562 kB / 0.8079 GB, free: 37.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.7466, allocations: 219.5 kB / 0.8081 GB, free: 37.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/0.7475, allocations: 198.6 kB / 0.8083 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.7497, allocations: 1.479 MB / 0.8097 GB, free: 36.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.7502, allocations: 0.918 MB / 0.8106 GB, free: 35.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.7504, allocations: 51.19 kB / 0.8107 GB, free: 35.44 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.7504, allocations: 1.25 kB / 0.8107 GB, free: 35.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.01885/0.7692, allocations: 8.694 MB / 0.8192 GB, free: 34.71 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)