Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009488/0.0009488, allocations: 171.8 kB / 326.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205 MB / 0.5767 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008019/0.0008019, allocations: 89.23 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.000368, allocations: 12.08 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2483, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003875/0.2522, allocations: 3.413 MB / 0.9001 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00318/0.2554, allocations: 1.352 MB / 0.9014 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009537/0.2564, allocations: 23.88 kB / 0.9014 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.257, allocations: 91.11 kB / 0.9015 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009643/0.258, allocations: 147 kB / 0.9016 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.2594, allocations: 0.5299 MB / 0.9022 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001209/0.2606, allocations: 0.9017 MB / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006378/0.2612, allocations: 325.6 kB / 0.9034 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004745/0.2617, allocations: 286.3 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.262, allocations: 274.1 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.734e-05/0.2621, allocations: 20 kB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.854e-05/0.2621, allocations: 20 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2622, allocations: 115.3 kB / 0.904 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.2625, allocations: 301.7 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005048/0.263, allocations: 0.7859 MB / 0.9051 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.263, allocations: 0 / 0.9051 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.263, allocations: 0 / 0.9051 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.263, allocations: 4 kB / 0.9051 GB, free: 59.6 MB / 0.6042 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.001612/0.2646, allocations: 1.067 MB / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.2647, allocations: 8.031 kB / 0.9061 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.2648, allocations: 95.81 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007802/0.2656, allocations: 0.6103 MB / 0.9068 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.373e-05/0.2657, allocations: 92.97 kB / 0.9069 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.2658, allocations: 52.38 kB / 0.907 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000886/0.2667, allocations: 0.6237 MB / 0.9076 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.2667, allocations: 4 kB / 0.9076 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.2668, allocations: 20 kB / 0.9076 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2668, allocations: 12 kB / 0.9076 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008072/0.2676, allocations: 451.6 kB / 0.908 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.2698, allocations: 2.125 MB / 0.9101 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.2709, allocations: 0.5156 MB / 0.9106 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.2713, allocations: 233 kB / 0.9108 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.2713, allocations: 11.95 kB / 0.9109 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005431/0.2719, allocations: 298.1 kB / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 2.595e-06/0.2719, allocations: 0 / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.001267/0.2731, allocations: 0.6411 MB / 0.9118 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.2732, allocations: 88.86 kB / 0.9119 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.2737, allocations: 0.6177 MB / 0.9125 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.2738, allocations: 33.7 kB / 0.9125 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.274, allocations: 364.9 kB / 0.9128 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.697e-05/0.2741, allocations: 153.8 kB / 0.913 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.2741, allocations: 53.69 kB / 0.913 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.2742, allocations: 326 kB / 0.9133 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.2747, allocations: 185 kB / 0.9135 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.2751, allocations: 292.2 kB / 0.9138 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/0.2759, allocations: 490 kB / 0.9143 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2759, allocations: 0 / 0.9143 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009464/0.2768, allocations: 0.6255 MB / 0.9149 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.622e-05/0.2769, allocations: 193.3 kB / 0.9151 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.2769, allocations: 4 kB / 0.9151 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.2769, allocations: 4 kB / 0.9151 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.2774, allocations: 111.8 kB / 0.9152 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2774, allocations: 4 kB / 0.9152 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.2777, allocations: 75.41 kB / 0.9153 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.2778, allocations: 23.98 kB / 0.9153 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-06/0.2778, allocations: 0 / 0.9153 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008578/0.2786, allocations: 0.5115 MB / 0.9158 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2787, allocations: 0 / 0.9158 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-06/0.2787, allocations: 8 kB / 0.9158 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.2791, allocations: 103.8 kB / 0.9159 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2791, allocations: 7.938 kB / 0.9159 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.2794, allocations: 63.75 kB / 0.916 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.2794, allocations: 20 kB / 0.916 GB, free: 48 MB / 0.6042 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.0002453/0.2797, allocations: 272.9 kB / 0.9162 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.2798, allocations: 79 kB / 0.9163 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.2799, allocations: 83.33 kB / 0.9164 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.2799, allocations: 7.922 kB / 0.9164 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2799, allocations: 4 kB / 0.9164 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.2801, allocations: 192 kB / 0.9166 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.2802, allocations: 8 kB / 0.9166 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.2806, allocations: 47.95 kB / 0.9166 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.2807, allocations: 27.95 kB / 0.9167 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001248/0.282, allocations: 0.595 MB / 0.9172 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001348/0.2833, allocations: 0.9128 MB / 0.9181 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003719/0.2837, allocations: 224.2 kB / 0.9183 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003801/0.2841, allocations: 439 kB / 0.9188 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of Backend: time 1.883e-06/0.2841, allocations: 0 / 0.9188 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.2855, allocations: 0.7211 MB / 0.9195 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002273/0.2878, allocations: 1.919 MB / 0.9213 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.01483/0.3026, allocations: 9.642 MB / 0.9308 GB, free: 32.82 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)