Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 288.4 MB / 304.3 MB, free: 8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 188.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 0.6316 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009389/0.0009389, allocations: 97.44 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004399, allocations: 11.59 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2606, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003253/0.2639, allocations: 3.142 MB / 0.9838 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.2659, allocations: 1.31 MB / 0.9851 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.2663, allocations: 27.81 kB / 0.9851 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.2665, allocations: 91.09 kB / 0.9852 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.267, allocations: 136.7 kB / 0.9853 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009262/0.2679, allocations: 464.5 kB / 0.9858 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007169/0.2686, allocations: 0.8432 MB / 0.9866 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004445/0.2691, allocations: 325.9 kB / 0.9869 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.2693, allocations: 270.5 kB / 0.9871 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.2696, allocations: 266.3 kB / 0.9874 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.2697, allocations: 20 kB / 0.9874 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.282e-05/0.2697, allocations: 20 kB / 0.9874 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.83e-05/0.2698, allocations: 111.4 kB / 0.9875 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.27, allocations: 307.7 kB / 0.9878 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004227/0.2704, allocations: 0.6234 MB / 0.9884 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2704, allocations: 0 / 0.9884 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.947e-06/0.2705, allocations: 0 / 0.9884 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.2705, allocations: 4 kB / 0.9884 GB, free: 19.39 MB / 0.6198 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.001663/0.2721, allocations: 1.059 MB / 0.9895 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2722, allocations: 12.03 kB / 0.9895 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.2723, allocations: 91.81 kB / 0.9896 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008011/0.2731, allocations: 0.6065 MB / 0.9902 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.2732, allocations: 96.97 kB / 0.9903 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.2733, allocations: 48.38 kB / 0.9903 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009485/0.2743, allocations: 0.6198 MB / 0.9909 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.2743, allocations: 0 / 0.9909 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.2744, allocations: 23.94 kB / 0.9909 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.2744, allocations: 12 kB / 0.991 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008496/0.2752, allocations: 447.6 kB / 0.9914 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.2775, allocations: 2.133 MB / 0.9935 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.2786, allocations: 0.5147 MB / 0.994 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/0.279, allocations: 234.7 kB / 0.9942 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/0.2791, allocations: 8 kB / 0.9942 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006002/0.2797, allocations: 293.9 kB / 0.9945 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 2.264e-06/0.2797, allocations: 3.938 kB / 0.9945 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.001279/0.281, allocations: 0.6308 MB / 0.9951 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.281, allocations: 92.86 kB / 0.9952 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/0.2816, allocations: 0.61 MB / 0.9958 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.2816, allocations: 33.7 kB / 0.9958 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.2818, allocations: 364.8 kB / 0.9962 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.242e-05/0.2819, allocations: 157.8 kB / 0.9963 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.282, allocations: 8 kB / 0.9963 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.094e-05/0.282, allocations: 326 kB / 0.9966 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.2824, allocations: 185 kB / 0.9968 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.2829, allocations: 288.2 kB / 0.9971 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007914/0.2837, allocations: 494 kB / 0.9976 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2837, allocations: 1.094 kB / 0.9976 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001012/0.2847, allocations: 0.6177 MB / 0.9982 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.602e-05/0.2848, allocations: 193.3 kB / 0.9983 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2848, allocations: 4 kB / 0.9983 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.2849, allocations: 4 kB / 0.9983 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.2853, allocations: 111.8 kB / 0.9985 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.2853, allocations: 8 kB / 0.9985 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.2857, allocations: 71.41 kB / 0.9985 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.2857, allocations: 20 kB / 0.9986 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.2857, allocations: 4 kB / 0.9986 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008403/0.2866, allocations: 0.5114 MB / 0.9991 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2866, allocations: 4 kB / 0.9991 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/0.2866, allocations: 4 kB / 0.9991 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.287, allocations: 103.8 kB / 0.9992 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.287, allocations: 4.25 kB / 0.9992 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.2873, allocations: 67.5 kB / 0.9992 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.2874, allocations: 16 kB / 0.9992 GB, free: 7.887 MB / 0.6198 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.2876, allocations: 274.7 kB / 0.9995 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.2877, allocations: 71.09 kB / 0.9996 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.2878, allocations: 83.33 kB / 0.9997 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.2878, allocations: 4 kB / 0.9997 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2878, allocations: 3.984 kB / 0.9997 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.288, allocations: 196 kB / 0.9998 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.2881, allocations: 12 kB / 0.9999 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.2885, allocations: 39.95 kB / 0.9999 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.2886, allocations: 35.95 kB / 0.9999 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001224/0.2898, allocations: 0.5938 MB / 1.001 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001295/0.2911, allocations: 0.9091 MB / 1.001 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003893/0.2915, allocations: 223.6 kB / 1.002 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003803/0.2919, allocations: 431 kB / 1.002 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of Backend: time 4.91e-07/0.2919, allocations: 0 / 1.002 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.2933, allocations: 0.7269 MB / 1.003 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of SimCode: time 0.00213/0.2954, allocations: 1.848 MB / 1.005 GB, free: 2.332 MB / 0.6198 GB Notification: Performance of Templates: time 0.01582/0.3112, allocations: 9.424 MB / 1.014 GB, free: 8.992 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)