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.001442/0.001442, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001967/0.001967, allocations: 191.1 kB / 16.25 MB, free: 6.617 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.529/1.529, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.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.737/1.737, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.00131/0.00131, allocations: 70.72 kB / 0.671 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2122, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004962/0.2172, allocations: 3.739 MB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.2198, allocations: 1.345 MB / 0.7878 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000569/0.2204, allocations: 23.88 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.2208, allocations: 99.09 kB / 0.7879 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005371/0.2213, allocations: 139 kB / 0.7881 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.2224, allocations: 0.5278 MB / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000914/0.2233, allocations: 0.9682 MB / 0.7895 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000477/0.2238, allocations: 345.9 kB / 0.7899 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.2242, allocations: 370.2 kB / 0.7902 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.2245, allocations: 358 kB / 0.7905 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.2247, allocations: 80 kB / 0.7906 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.899e-05/0.2247, allocations: 80 kB / 0.7907 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.2249, allocations: 179.2 kB / 0.7909 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.2252, allocations: 377.7 kB / 0.7912 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006947/0.2259, allocations: 0.8563 MB / 0.7921 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2259, allocations: 4 kB / 0.7921 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2259, allocations: 0 / 0.7921 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.2259, allocations: 0 / 0.7921 GB, free: 4.422 MB / 0.6075 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.001897/0.2278, allocations: 1.195 MB / 0.7932 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2278, allocations: 8.031 kB / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.228, allocations: 91.81 kB / 0.7933 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008284/0.2288, allocations: 0.6026 MB / 0.7939 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.2289, allocations: 96.97 kB / 0.794 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.053e-05/0.229, allocations: 56.28 kB / 0.7941 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.2301, allocations: 0.6003 MB / 0.7947 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2301, allocations: 0 / 0.7947 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/0.2301, allocations: 24 kB / 0.7947 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.2302, allocations: 12 kB / 0.7947 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008946/0.2311, allocations: 431.6 kB / 0.7951 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.2337, allocations: 2.106 MB / 0.7972 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.2348, allocations: 0.4996 MB / 0.7976 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/0.2353, allocations: 225.2 kB / 0.7979 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.2353, allocations: 11.92 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006807/0.236, allocations: 282 kB / 0.7981 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.244e-06/0.236, allocations: 0 / 0.7981 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001402/0.2374, allocations: 0.6073 MB / 0.7987 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.2375, allocations: 96.73 kB / 0.7988 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00065/0.2382, allocations: 0.61 MB / 0.7994 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.2382, allocations: 41.64 kB / 0.7995 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.2385, allocations: 364.8 kB / 0.7998 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.2386, allocations: 157.8 kB / 0.8 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.2388, allocations: 90.23 kB / 0.8 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2389, allocations: 326 kB / 0.8004 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/0.2393, allocations: 187 kB / 0.8005 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.2398, allocations: 276.3 kB / 0.8008 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/0.2407, allocations: 477.9 kB / 0.8013 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.2407, allocations: 11.94 kB / 0.8013 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001133/0.2418, allocations: 0.5944 MB / 0.8018 GB, free: 10 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.2419, allocations: 38.64 kB / 0.8019 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2419, allocations: 4 kB / 0.8019 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2419, allocations: 4 kB / 0.8019 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.2424, allocations: 107.8 kB / 0.802 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.2424, allocations: 4 kB / 0.802 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.2428, allocations: 71.66 kB / 0.8021 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.2428, allocations: 16 kB / 0.8021 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000546/0.2434, allocations: 309.2 kB / 0.8024 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000428/0.2438, allocations: 268.2 kB / 0.8026 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007737/0.2446, allocations: 450 kB / 0.8031 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.2446, allocations: 4 kB / 0.8031 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001036/0.2457, allocations: 0.5789 MB / 0.8036 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.2457, allocations: 37.7 kB / 0.8037 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2457, allocations: 4 kB / 0.8037 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.2457, allocations: 4 kB / 0.8037 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.2462, allocations: 107.8 kB / 0.8038 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2462, allocations: 4 kB / 0.8038 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.2466, allocations: 51.56 kB / 0.8038 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.2466, allocations: 23.94 kB / 0.8038 GB, free: 7.844 MB / 0.6231 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.0001902/0.2468, allocations: 216 kB / 0.8041 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.914e-05/0.2469, allocations: 75.16 kB / 0.8041 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.2471, allocations: 83.33 kB / 0.8042 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2471, allocations: 4 kB / 0.8042 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2471, allocations: 0 / 0.8042 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2471, allocations: 0 / 0.8042 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.2478, allocations: 0.6218 MB / 0.8048 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2478, allocations: 0 / 0.8048 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.2482, allocations: 87.89 kB / 0.8049 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2483, allocations: 0 / 0.8049 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.2483, allocations: 15.98 kB / 0.8049 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2483, allocations: 0 / 0.8049 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2483, allocations: 0 / 0.8049 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.2497, allocations: 0.7352 MB / 0.8056 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.2499, allocations: 192 kB / 0.8058 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.25, allocations: 12 kB / 0.8058 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.2504, allocations: 32.09 kB / 0.8059 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/0.2505, allocations: 35.95 kB / 0.8059 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.2505, allocations: 23.98 kB / 0.8059 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004474/0.251, allocations: 431 kB / 0.8063 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3e-07/0.251, allocations: 0 / 0.8063 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006025/0.2516, allocations: 219.3 kB / 0.8065 GB, free: 4.996 MB / 0.6231 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.000152/0.2518, allocations: 111.1 kB / 0.8066 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.2534, allocations: 0.8088 MB / 0.8074 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2534, allocations: 128 / 0.8074 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.2539, allocations: 215.9 kB / 0.8076 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.2547, allocations: 216.8 kB / 0.8078 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.2567, allocations: 1.449 MB / 0.8093 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.2571, allocations: 0.9219 MB / 0.8102 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003652/0.2575, allocations: 93.19 kB / 0.8102 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.2576, allocations: 43.44 kB / 0.8103 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of SimCode: time 1.553e-06/0.2576, allocations: 0 / 0.8103 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of Templates: time 0.012/0.2696, allocations: 7.539 MB / 0.8177 GB, free: 9.621 MB / 0.6387 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)