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.896/1.896, allocations: 287.5 MB / 302.6 MB, free: 8.219 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.001048/0.001048, allocations: 184.7 kB / 371.2 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.961/1.961, allocations: 205.4 MB / 0.6299 GB, free: 10.57 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.000954/0.0009538, allocations: 106.3 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004146, allocations: 13.88 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2728, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002021/0.2749, allocations: 1.373 MB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.2767, allocations: 1.207 MB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.2771, allocations: 8 kB / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.2773, allocations: 51.5 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.2777, allocations: 43.66 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.278, allocations: 91.91 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000489/0.2785, allocations: 429 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003811/0.2789, allocations: 251.1 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.2791, allocations: 103.4 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.2793, allocations: 139.1 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.2793, allocations: 12 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.037e-05/0.2794, allocations: 12 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.2794, allocations: 55.69 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.2795, allocations: 89.45 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.2798, allocations: 455 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2798, allocations: 0 / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2798, allocations: 0 / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.2798, allocations: 0 / 0.9829 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.001015/0.2808, allocations: 0.6862 MB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2809, allocations: 8.031 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.281, allocations: 56.38 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.2814, allocations: 368.1 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.2815, allocations: 33.38 kB / 0.984 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.2815, allocations: 36.38 kB / 0.984 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.2822, allocations: 399.5 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.2822, allocations: 192 / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.2822, allocations: 27.88 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.2822, allocations: 8 kB / 0.9844 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/0.2828, allocations: 287.8 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.2845, allocations: 1.343 MB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.285, allocations: 246.6 kB / 0.9863 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.2853, allocations: 117 kB / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.2853, allocations: 4 kB / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.2853, allocations: 34.56 kB / 0.9864 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 2.705e-06/0.2853, allocations: 0 / 0.9864 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.0006267/0.286, allocations: 303.4 kB / 0.9867 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.286, allocations: 110.8 kB / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.2864, allocations: 421.5 kB / 0.9872 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.2865, allocations: 29.7 kB / 0.9872 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.2866, allocations: 251.8 kB / 0.9875 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.2867, allocations: 63.09 kB / 0.9875 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.2867, allocations: 12 kB / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.2867, allocations: 350.8 kB / 0.9879 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.287, allocations: 104 kB / 0.988 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.2872, allocations: 210.8 kB / 0.9882 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.2876, allocations: 268.9 kB / 0.9884 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2876, allocations: 3.938 kB / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005625/0.2882, allocations: 357.1 kB / 0.9888 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/0.2883, allocations: 149.2 kB / 0.9889 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2883, allocations: 0 / 0.9889 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2883, allocations: 4 kB / 0.9889 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.2886, allocations: 71.89 kB / 0.989 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2886, allocations: 8 kB / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.2888, allocations: 59.52 kB / 0.9891 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.2889, allocations: 19.98 kB / 0.9891 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.2889, allocations: 0 / 0.9891 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002937/0.2892, allocations: 241.7 kB / 0.9893 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.2892, allocations: 0 / 0.9893 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/0.2892, allocations: 4 kB / 0.9893 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.2894, allocations: 55.92 kB / 0.9894 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2894, allocations: 7.984 kB / 0.9894 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.2895, allocations: 35.75 kB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.2896, allocations: 19.92 kB / 0.9894 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.0001556/0.2897, allocations: 237.1 kB / 0.9897 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.2898, allocations: 35.53 kB / 0.9897 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.694e-05/0.2899, allocations: 39.61 kB / 0.9897 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2899, allocations: 0 / 0.9897 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2899, allocations: 0 / 0.9897 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2899, allocations: 7.922 kB / 0.9897 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008997/0.2908, allocations: 0.7157 MB / 0.9904 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2908, allocations: 0 / 0.9904 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.291, allocations: 44.03 kB / 0.9905 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.291, allocations: 3.938 kB / 0.9905 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.291, allocations: 12 kB / 0.9905 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.291, allocations: 0 / 0.9905 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2911, allocations: 3.984 kB / 0.9905 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.2917, allocations: 440.5 kB / 0.9909 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.2918, allocations: 112.7 kB / 0.991 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.2918, allocations: 11.94 kB / 0.991 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.292, allocations: 19.98 kB / 0.9911 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.292, allocations: 15.92 kB / 0.9911 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.292, allocations: 4 kB / 0.9911 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002775/0.2923, allocations: 299.1 kB / 0.9914 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2923, allocations: 0 / 0.9914 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004383/0.2928, allocations: 131.4 kB / 0.9915 GB, free: 14.57 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.000156/0.2929, allocations: 107.2 kB / 0.9916 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006619/0.2936, allocations: 357.2 kB / 0.9919 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.2936, allocations: 0.875 kB / 0.9919 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.2938, allocations: 96.94 kB / 0.992 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.2944, allocations: 75.41 kB / 0.9921 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.2957, allocations: 0.7877 MB / 0.9929 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.296, allocations: 0.7999 MB / 0.9936 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001666/0.2961, allocations: 39.41 kB / 0.9937 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.2962, allocations: 27.44 kB / 0.9937 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.2962, allocations: 0 / 0.9937 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.007123/0.3033, allocations: 3.034 MB / 0.9967 GB, free: 9.223 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)