Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.807/1.807, allocations: 288.4 MB / 303.7 MB, free: 7.996 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.001021/0.001021, allocations: 180.5 kB / 372.3 MB, free: 10.11 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.912/1.912, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0009668/0.0009668, allocations: 98.28 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006505/0.0006508, allocations: 23.3 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.261, allocations: 115.3 MB / 0.9802 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001689/0.2628, allocations: 1.373 MB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2643, allocations: 1.21 MB / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.2644, allocations: 4 kB / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.2647, allocations: 47.52 kB / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.265, allocations: 53.77 kB / 0.9828 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.2652, allocations: 91.92 kB / 0.9829 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.2656, allocations: 433 kB / 0.9833 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.266, allocations: 243.1 kB / 0.9835 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2661, allocations: 103.4 kB / 0.9836 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.2663, allocations: 139 kB / 0.9837 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.2663, allocations: 12 kB / 0.9838 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.03e-05/0.2664, allocations: 12 kB / 0.9838 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.2664, allocations: 55.7 kB / 0.9838 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.2665, allocations: 172.7 kB / 0.984 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.2669, allocations: 455 kB / 0.9844 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2669, allocations: 4 kB / 0.9844 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2669, allocations: 0 / 0.9844 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.2669, allocations: 0 / 0.9844 GB, free: 22.91 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009571/0.2679, allocations: 0.6823 MB / 0.9851 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.2679, allocations: 19.97 kB / 0.9851 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.268, allocations: 52.36 kB / 0.9852 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.2684, allocations: 368.2 kB / 0.9855 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.2685, allocations: 29.38 kB / 0.9855 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.2685, allocations: 36.38 kB / 0.9856 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.2691, allocations: 403.5 kB / 0.986 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2691, allocations: 192 / 0.986 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.2691, allocations: 19.94 kB / 0.986 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2691, allocations: 8 kB / 0.986 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.2696, allocations: 283.9 kB / 0.9863 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.2711, allocations: 1.343 MB / 0.9876 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.2716, allocations: 254.8 kB / 0.9878 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.2718, allocations: 108.8 kB / 0.9879 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.2719, allocations: 4 kB / 0.9879 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2719, allocations: 42.48 kB / 0.988 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.2719, allocations: 0 / 0.988 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.0005688/0.2725, allocations: 298.6 kB / 0.9882 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.2725, allocations: 110.8 kB / 0.9883 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.2729, allocations: 425.5 kB / 0.9888 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.2729, allocations: 25.7 kB / 0.9888 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.2731, allocations: 251.8 kB / 0.989 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.2731, allocations: 67.09 kB / 0.9891 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.2732, allocations: 4 kB / 0.9891 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.866e-05/0.2732, allocations: 350.8 kB / 0.9894 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.2734, allocations: 103.9 kB / 0.9895 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.2737, allocations: 206.9 kB / 0.9897 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.274, allocations: 276.9 kB / 0.99 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.274, allocations: 0 / 0.99 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004911/0.2745, allocations: 358.2 kB / 0.9903 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.2746, allocations: 149.3 kB / 0.9905 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2746, allocations: 0 / 0.9905 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2746, allocations: 4 kB / 0.9905 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.2749, allocations: 75.91 kB / 0.9905 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2749, allocations: 7.938 kB / 0.9905 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.2751, allocations: 63.5 kB / 0.9906 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.2751, allocations: 12 kB / 0.9906 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-06/0.2751, allocations: 8 kB / 0.9906 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002656/0.2754, allocations: 228.7 kB / 0.9908 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2754, allocations: 7.984 kB / 0.9909 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-06/0.2754, allocations: 4 kB / 0.9909 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.2756, allocations: 55.92 kB / 0.9909 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.2756, allocations: 4 kB / 0.9909 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.2758, allocations: 39.95 kB / 0.9909 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.2758, allocations: 15.94 kB / 0.991 GB, free: 15.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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.000139/0.2759, allocations: 233 kB / 0.9912 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.276, allocations: 35.53 kB / 0.9912 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.2761, allocations: 43.59 kB / 0.9913 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2761, allocations: 0 / 0.9913 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2761, allocations: 0 / 0.9913 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2761, allocations: 3.938 kB / 0.9913 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008543/0.2769, allocations: 0.7202 MB / 0.992 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.277, allocations: 0 / 0.992 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.2771, allocations: 43.97 kB / 0.992 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2772, allocations: 11.88 kB / 0.992 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.2772, allocations: 4 kB / 0.992 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2772, allocations: 0 / 0.992 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2772, allocations: 7.938 kB / 0.992 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.2777, allocations: 436.6 kB / 0.9925 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.2778, allocations: 116.7 kB / 0.9926 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.2779, allocations: 11.92 kB / 0.9926 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.278, allocations: 27.98 kB / 0.9926 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.2781, allocations: 7.984 kB / 0.9926 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.2781, allocations: 8 kB / 0.9926 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002416/0.2783, allocations: 291.2 kB / 0.9929 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2783, allocations: 0 / 0.9929 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003889/0.2787, allocations: 127.4 kB / 0.993 GB, free: 13.63 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001401/0.2789, allocations: 111.2 kB / 0.9931 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005623/0.2794, allocations: 361.9 kB / 0.9935 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2795, allocations: 0 / 0.9935 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.2796, allocations: 91.89 kB / 0.9936 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.2802, allocations: 73.97 kB / 0.9936 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2812, allocations: 0.7838 MB / 0.9944 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.2815, allocations: 0.8038 MB / 0.9952 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.2816, allocations: 43.39 kB / 0.9952 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.2817, allocations: 35.42 kB / 0.9952 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of SimCode: time 1.91e-07/0.2817, allocations: 3.938 kB / 0.9953 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.005701/0.2874, allocations: 3.066 MB / 0.9982 GB, free: 8.234 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)