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.001373/0.001373, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001535/0.001535, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.514/1.514, allocations: 205.1 MB / 223.1 MB, free: 12.32 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 2.016/2.016, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001789/0.001789, allocations: 67.42 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2818, allocations: 114.6 MB / 0.7841 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005926/0.2878, allocations: 3.722 MB / 0.7877 GB, free: 144 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6204/0.9081, allocations: 1.377 MB / 0.789 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005841/0.9088, allocations: 25.25 kB / 0.7891 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.9093, allocations: 131.2 kB / 0.7892 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006173/0.9099, allocations: 173 kB / 0.7894 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.9112, allocations: 0.5659 MB / 0.7899 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001065/0.9123, allocations: 0.9658 MB / 0.7909 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005747/0.9129, allocations: 359.3 kB / 0.7912 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004474/0.9133, allocations: 365.1 kB / 0.7915 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.9137, allocations: 352.5 kB / 0.7919 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.9138, allocations: 78.97 kB / 0.792 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.914, allocations: 77.75 kB / 0.792 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.9141, allocations: 177 kB / 0.7922 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.9144, allocations: 385.7 kB / 0.7926 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008128/0.9152, allocations: 0.8969 MB / 0.7934 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9153, allocations: 0 / 0.7934 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9153, allocations: 0 / 0.7934 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.056e-05/0.9153, allocations: 3.438 kB / 0.7934 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.002204/0.9175, allocations: 1.177 MB / 0.7946 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.9176, allocations: 10.59 kB / 0.7946 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.9177, allocations: 94.22 kB / 0.7947 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008074/0.9185, allocations: 0.6045 MB / 0.7953 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.9187, allocations: 101.4 kB / 0.7954 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.9187, allocations: 55.47 kB / 0.7954 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009883/0.9197, allocations: 0.5971 MB / 0.796 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.9198, allocations: 0 / 0.796 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.393e-05/0.9198, allocations: 25.44 kB / 0.796 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.9199, allocations: 14.38 kB / 0.7961 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008528/0.9207, allocations: 429.1 kB / 0.7965 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.9234, allocations: 2.093 MB / 0.7985 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.9246, allocations: 0.4966 MB / 0.799 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/0.925, allocations: 221.4 kB / 0.7992 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.9251, allocations: 5 kB / 0.7992 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007553/0.9258, allocations: 285.2 kB / 0.7995 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.9258, allocations: 0 / 0.7995 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.001431/0.9273, allocations: 0.611 MB / 0.8001 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.9274, allocations: 88.75 kB / 0.8002 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007723/0.9281, allocations: 0.6136 MB / 0.8008 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.9282, allocations: 39.03 kB / 0.8008 GB, free: 41.44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.9285, allocations: 363.8 kB / 0.8011 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.9286, allocations: 163.7 kB / 0.8013 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.9288, allocations: 90.3 kB / 0.8014 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.9289, allocations: 327.4 kB / 0.8017 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.9293, allocations: 179 kB / 0.8019 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.9299, allocations: 280.1 kB / 0.8021 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/0.9308, allocations: 479.1 kB / 0.8026 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.9308, allocations: 6.969 kB / 0.8026 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001401/0.9322, allocations: 0.5965 MB / 0.8032 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.9323, allocations: 37.61 kB / 0.8032 GB, free: 39.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.9323, allocations: 1.75 kB / 0.8032 GB, free: 39.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.9323, allocations: 6.188 kB / 0.8032 GB, free: 39.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.9329, allocations: 112.6 kB / 0.8033 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.9329, allocations: 9.875 kB / 0.8033 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.9333, allocations: 63.73 kB / 0.8034 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.9333, allocations: 19.39 kB / 0.8034 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005708/0.9339, allocations: 305.6 kB / 0.8037 GB, free: 39.63 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004796/0.9344, allocations: 268.1 kB / 0.804 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008742/0.9353, allocations: 456.9 kB / 0.8044 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/0.9353, allocations: 1.188 kB / 0.8044 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001221/0.9365, allocations: 0.583 MB / 0.805 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.9366, allocations: 38.06 kB / 0.805 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.9366, allocations: 2.062 kB / 0.805 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.9366, allocations: 5.531 kB / 0.805 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.9371, allocations: 104.5 kB / 0.8051 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.9371, allocations: 8.547 kB / 0.8051 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.9375, allocations: 55.55 kB / 0.8052 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.9375, allocations: 18.95 kB / 0.8052 GB, free: 38.85 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.0002158/0.9377, allocations: 215.6 kB / 0.8054 GB, free: 38.65 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.9379, allocations: 70.42 kB / 0.8055 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.9381, allocations: 79.97 kB / 0.8056 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.9381, allocations: 8.047 kB / 0.8056 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.9381, allocations: 0 / 0.8056 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.9381, allocations: 7.375 kB / 0.8056 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009429/0.9391, allocations: 0.6238 MB / 0.8062 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9391, allocations: 0.5156 kB / 0.8062 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/0.9396, allocations: 84.02 kB / 0.8063 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.9396, allocations: 2.188 kB / 0.8063 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.9396, allocations: 12.17 kB / 0.8063 GB, free: 38.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.9396, allocations: 2.266 kB / 0.8063 GB, free: 38.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9396, allocations: 0 / 0.8063 GB, free: 38.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.9414, allocations: 0.7304 MB / 0.807 GB, free: 37.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.9417, allocations: 187.6 kB / 0.8072 GB, free: 37.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.956e-05/0.9418, allocations: 16.31 kB / 0.8072 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.9422, allocations: 36.77 kB / 0.8072 GB, free: 37.67 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.9423, allocations: 30.62 kB / 0.8072 GB, free: 37.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/0.9424, allocations: 17.31 kB / 0.8073 GB, free: 37.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007341/0.9431, allocations: 429.8 kB / 0.8077 GB, free: 37.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9431, allocations: 1.688 kB / 0.8077 GB, free: 37.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008347/0.944, allocations: 224.9 kB / 0.8079 GB, free: 37.42 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.0002109/0.9442, allocations: 117.3 kB / 0.808 GB, free: 37.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.9461, allocations: 0.7807 MB / 0.8088 GB, free: 37 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9461, allocations: 0 / 0.8088 GB, free: 37 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.9466, allocations: 220.5 kB / 0.809 GB, free: 36.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009651/0.9476, allocations: 200 kB / 0.8092 GB, free: 36.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.9504, allocations: 1.189 MB / 0.8103 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006403/0.9511, allocations: 0.9198 MB / 0.8112 GB, free: 35.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004627/0.9516, allocations: 94.33 kB / 0.8113 GB, free: 35.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.9517, allocations: 47.2 kB / 0.8114 GB, free: 35.49 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.9518, allocations: 0 / 0.8114 GB, free: 35.49 MB / 0.6544 GB Notification: Performance of Templates: time 0.02324/0.975, allocations: 7.591 MB / 0.8188 GB, free: 35.15 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)