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.001244/0.001245, allocations: 106.9 kB / 16.37 MB, free: 6.309 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.001209/0.001209, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.508/1.508, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.836/1.836, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001642/0.001642, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2307, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.4163/0.647, allocations: 3.726 MB / 0.7884 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002778/0.6498, allocations: 1.374 MB / 0.7898 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.6504, allocations: 30.75 kB / 0.7898 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.6508, allocations: 127.4 kB / 0.7899 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004761/0.6512, allocations: 173.6 kB / 0.7901 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.6523, allocations: 0.5738 MB / 0.7906 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007842/0.6531, allocations: 0.9664 MB / 0.7916 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004628/0.6535, allocations: 351.5 kB / 0.7919 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.6539, allocations: 361.7 kB / 0.7923 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.6542, allocations: 352.2 kB / 0.7926 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.423e-05/0.6543, allocations: 77.59 kB / 0.7927 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.089e-05/0.6544, allocations: 78.12 kB / 0.7927 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.6545, allocations: 188.4 kB / 0.7929 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.6547, allocations: 376.5 kB / 0.7933 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005761/0.6553, allocations: 0.8963 MB / 0.7942 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6553, allocations: 4.25 kB / 0.7942 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6553, allocations: 0.5938 kB / 0.7942 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.6553, allocations: 0 / 0.7942 GB, free: 45.86 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.00168/0.657, allocations: 1.183 MB / 0.7953 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.6571, allocations: 7.875 kB / 0.7953 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.6572, allocations: 95.28 kB / 0.7954 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000858/0.6581, allocations: 0.6287 MB / 0.796 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.452e-05/0.6582, allocations: 102.4 kB / 0.7961 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.076e-05/0.6582, allocations: 56.03 kB / 0.7962 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008969/0.6591, allocations: 0.6034 MB / 0.7968 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.6592, allocations: 3.5 kB / 0.7968 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.579e-05/0.6592, allocations: 19.88 kB / 0.7968 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.6592, allocations: 18.83 kB / 0.7968 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/0.6601, allocations: 425.6 kB / 0.7972 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.6624, allocations: 2.1 MB / 0.7993 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.6635, allocations: 0.4893 MB / 0.7997 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/0.664, allocations: 215.2 kB / 0.7999 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.664, allocations: 13.17 kB / 0.8 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005839/0.6646, allocations: 283.5 kB / 0.8002 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.6646, allocations: 0 / 0.8002 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.001395/0.666, allocations: 0.6116 MB / 0.8008 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.6661, allocations: 85.92 kB / 0.8009 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006528/0.6667, allocations: 0.6132 MB / 0.8015 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.6668, allocations: 36.98 kB / 0.8015 GB, free: 41.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.667, allocations: 367.6 kB / 0.8019 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.714e-05/0.6671, allocations: 155.3 kB / 0.802 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.6673, allocations: 93.64 kB / 0.8021 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.588e-05/0.6673, allocations: 325.1 kB / 0.8024 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.6678, allocations: 183.6 kB / 0.8026 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.6683, allocations: 281.8 kB / 0.8029 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008508/0.6691, allocations: 481.3 kB / 0.8033 GB, free: 40.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6692, allocations: 1.188 kB / 0.8033 GB, free: 40.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001194/0.6704, allocations: 0.5996 MB / 0.8039 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.6704, allocations: 34.53 kB / 0.804 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.6704, allocations: 2.75 kB / 0.804 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6704, allocations: 5.844 kB / 0.804 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.6709, allocations: 111.9 kB / 0.8041 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.671, allocations: 14.89 kB / 0.8041 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.6713, allocations: 63.23 kB / 0.8042 GB, free: 40.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.6714, allocations: 19.83 kB / 0.8042 GB, free: 40.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005415/0.6719, allocations: 310 kB / 0.8045 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004562/0.6724, allocations: 265.7 kB / 0.8047 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000798/0.6732, allocations: 454 kB / 0.8052 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.486e-06/0.6732, allocations: 3.172 kB / 0.8052 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001114/0.6744, allocations: 0.5791 MB / 0.8057 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.6744, allocations: 34.17 kB / 0.8058 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6744, allocations: 2.688 kB / 0.8058 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.6744, allocations: 4.969 kB / 0.8058 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.6749, allocations: 104.9 kB / 0.8059 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.6749, allocations: 5.875 kB / 0.8059 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.6753, allocations: 54.39 kB / 0.8059 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.6753, allocations: 18.98 kB / 0.8059 GB, free: 39.24 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.0001653/0.6755, allocations: 213.4 kB / 0.8061 GB, free: 39.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.38e-05/0.6756, allocations: 70.58 kB / 0.8062 GB, free: 39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.6757, allocations: 80.44 kB / 0.8063 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.6758, allocations: 2.297 kB / 0.8063 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6758, allocations: 5.453 kB / 0.8063 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.676, allocations: 198.6 kB / 0.8065 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.6761, allocations: 11.7 kB / 0.8065 GB, free: 38.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.6765, allocations: 32.72 kB / 0.8065 GB, free: 38.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.6766, allocations: 33.39 kB / 0.8066 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001463/0.6781, allocations: 0.5655 MB / 0.8071 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001656/0.6797, allocations: 0.8869 MB / 0.808 GB, free: 38.01 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004645/0.6802, allocations: 213.3 kB / 0.8082 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005246/0.6808, allocations: 430.5 kB / 0.8086 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of Backend: time 5.21e-07/0.6808, allocations: 0 / 0.8086 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.6824, allocations: 0.7171 MB / 0.8093 GB, free: 37.37 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002267/0.6847, allocations: 1.677 MB / 0.8109 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.0222/0.7069, allocations: 10.4 MB / 0.8211 GB, free: 35.75 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)