Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.762/1.762, allocations: 287.4 MB / 303.2 MB, free: 8.336 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.001014/0.001014, allocations: 184.8 kB / 371.8 MB, free: 10.82 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.896/1.896, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.001006/0.001006, allocations: 89.09 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005821/0.0005824, allocations: 17.22 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.285, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001697/0.2868, allocations: 1.369 MB / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2883, allocations: 1.199 MB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.2885, allocations: 11.94 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.2887, allocations: 47.52 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.2889, allocations: 47.72 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.2891, allocations: 99.83 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.2895, allocations: 425 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.2898, allocations: 243.1 kB / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.823e-05/0.2899, allocations: 115.3 kB / 0.9828 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.2901, allocations: 131.1 kB / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.2901, allocations: 12 kB / 0.9829 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.947e-05/0.2902, allocations: 12 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.2902, allocations: 55.7 kB / 0.983 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/0.2903, allocations: 93.45 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.2906, allocations: 451 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.2906, allocations: 0 / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2906, allocations: 0 / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2906, allocations: 0 / 0.9835 GB, free: 23.86 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.0009652/0.2916, allocations: 0.6978 MB / 0.9842 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.2916, allocations: 8.031 kB / 0.9842 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.2917, allocations: 52.38 kB / 0.9842 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.2922, allocations: 364.1 kB / 0.9846 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.2922, allocations: 33.31 kB / 0.9846 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.2923, allocations: 40.38 kB / 0.9846 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.2929, allocations: 399.5 kB / 0.985 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.2929, allocations: 4.172 kB / 0.985 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.2929, allocations: 19.94 kB / 0.985 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2929, allocations: 8 kB / 0.985 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005005/0.2934, allocations: 287.8 kB / 0.9853 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.295, allocations: 1.351 MB / 0.9866 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.2955, allocations: 246.8 kB / 0.9869 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.2957, allocations: 108.8 kB / 0.987 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.2957, allocations: 7.984 kB / 0.987 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.2958, allocations: 38.56 kB / 0.987 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.2958, allocations: 0 / 0.987 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.0005894/0.2964, allocations: 303.3 kB / 0.9873 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.2964, allocations: 106.8 kB / 0.9874 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.2968, allocations: 421.5 kB / 0.9878 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.2968, allocations: 29.7 kB / 0.9878 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.2969, allocations: 255.8 kB / 0.9881 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.297, allocations: 63.09 kB / 0.9881 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.297, allocations: 8 kB / 0.9882 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/0.2971, allocations: 346.8 kB / 0.9885 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.2973, allocations: 99.95 kB / 0.9886 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.2975, allocations: 206.8 kB / 0.9888 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.2979, allocations: 277.7 kB / 0.989 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2979, allocations: 3.938 kB / 0.989 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005113/0.2984, allocations: 352.9 kB / 0.9894 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/0.2985, allocations: 148 kB / 0.9895 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2985, allocations: 4 kB / 0.9895 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.2986, allocations: 4 kB / 0.9895 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.2988, allocations: 67.91 kB / 0.9896 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.2988, allocations: 7.984 kB / 0.9896 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.2991, allocations: 67.52 kB / 0.9897 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.2991, allocations: 8 kB / 0.9897 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/0.2991, allocations: 4 kB / 0.9897 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002862/0.2994, allocations: 245.7 kB / 0.9899 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.2994, allocations: 7.938 kB / 0.9899 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/0.2994, allocations: 4 kB / 0.9899 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.2996, allocations: 51.92 kB / 0.99 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.2996, allocations: 4.219 kB / 0.99 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.2997, allocations: 43.67 kB / 0.99 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2998, allocations: 12 kB / 0.99 GB, free: 16.8 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.0001456/0.2999, allocations: 240.9 kB / 0.9903 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.3, allocations: 39.52 kB / 0.9903 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.3, allocations: 35.61 kB / 0.9903 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3001, allocations: 4.031 kB / 0.9903 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3001, allocations: 4 kB / 0.9903 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.3001, allocations: 120.6 kB / 0.9905 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.3002, allocations: 8 kB / 0.9905 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.3004, allocations: 19.97 kB / 0.9905 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.3004, allocations: 15.98 kB / 0.9905 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005183/0.3009, allocations: 316.7 kB / 0.9908 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005705/0.3015, allocations: 0.4998 MB / 0.9913 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001547/0.3017, allocations: 93.86 kB / 0.9914 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002448/0.3019, allocations: 291.2 kB / 0.9917 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of Backend: time 4.81e-07/0.3019, allocations: 0 / 0.9917 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007484/0.3027, allocations: 375.1 kB / 0.992 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001135/0.3038, allocations: 1.209 MB / 0.9932 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.006755/0.3106, allocations: 3.987 MB / 0.9971 GB, free: 9.484 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)