Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.934/2.934, allocations: 287.5 MB / 302.4 MB, free: 8.352 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.002108/0.002108, allocations: 182 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.34/2.34, allocations: 205.4 MB / 0.6297 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.001075/0.001075, allocations: 87.53 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004918, allocations: 11.3 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2754, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001746/0.2772, allocations: 0.7244 MB / 0.9791 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002664/0.2799, allocations: 1.312 MB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.2801, allocations: 0 / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.2803, allocations: 15.86 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.2804, allocations: 35.72 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.2817, allocations: 226.4 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.2822, allocations: 327.2 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.2825, allocations: 61.03 kB / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.2827, allocations: 111.7 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.283, allocations: 135.5 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.2831, allocations: 16 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.2833, allocations: 27.98 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.904e-05/0.2835, allocations: 47.83 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.2836, allocations: 65.58 kB / 0.9814 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.2841, allocations: 315.4 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2841, allocations: 0 / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.116e-06/0.2841, allocations: 0 / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.2842, allocations: 0 / 0.9817 GB, free: 24.93 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001614/0.2858, allocations: 0.588 MB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.2859, allocations: 12.03 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.286, allocations: 35.67 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.2865, allocations: 270.5 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.954e-05/0.2866, allocations: 24 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.2868, allocations: 20 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.288, allocations: 265.1 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.2881, allocations: 3.984 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/0.2881, allocations: 15.92 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2882, allocations: 4 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.2897, allocations: 259.6 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.2919, allocations: 0.777 MB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/0.2928, allocations: 227 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006549/0.2935, allocations: 169.1 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.2935, allocations: 192 / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008855/0.2944, allocations: 269.1 kB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 3.176e-06/0.2944, allocations: 0 / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.002405/0.2968, allocations: 0.5945 MB / 0.9851 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.2969, allocations: 63.39 kB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.2972, allocations: 217.5 kB / 0.9854 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.371e-05/0.2973, allocations: 37.7 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.2974, allocations: 140.5 kB / 0.9855 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.2975, allocations: 67.16 kB / 0.9856 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.2976, allocations: 8 kB / 0.9856 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.2977, allocations: 330.8 kB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008293/0.2985, allocations: 203.9 kB / 0.9861 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/0.2994, allocations: 240 kB / 0.9863 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000795/0.3002, allocations: 251.2 kB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3002, allocations: 3.984 kB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001906/0.3022, allocations: 0.5553 MB / 0.9871 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/0.3022, allocations: 69.42 kB / 0.9872 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3023, allocations: 4 kB / 0.9872 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.3023, allocations: 3.938 kB / 0.9872 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/0.3028, allocations: 67.95 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.3029, allocations: 0 / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009545/0.3038, allocations: 127.5 kB / 0.9874 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.3039, allocations: 19.95 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0002541/0.3042, allocations: 163.8 kB / 0.9876 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.3042, allocations: 23.72 kB / 0.9876 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.147e-05/0.3043, allocations: 26.55 kB / 0.9876 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3043, allocations: 4 kB / 0.9876 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3044, allocations: 3.938 kB / 0.9876 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3044, allocations: 0 / 0.9876 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.3063, allocations: 0.8106 MB / 0.9884 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.3063, allocations: 4 kB / 0.9884 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.3067, allocations: 39.91 kB / 0.9885 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.3067, allocations: 7.984 kB / 0.9885 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.3068, allocations: 8 kB / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.3068, allocations: 7.984 kB / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3068, allocations: 3.953 kB / 0.9885 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.3084, allocations: 0.5263 MB / 0.989 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.3085, allocations: 104.8 kB / 0.9891 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.3085, allocations: 8 kB / 0.9891 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.3089, allocations: 35.95 kB / 0.9891 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.3091, allocations: 23.97 kB / 0.9892 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.3091, allocations: 23.88 kB / 0.9892 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001666/0.3093, allocations: 152.5 kB / 0.9893 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3093, allocations: 4 kB / 0.9893 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005553/0.3099, allocations: 79.83 kB / 0.9894 GB, free: 16.62 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.000212/0.3101, allocations: 119.2 kB / 0.9895 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.3119, allocations: 0.5658 MB / 0.9901 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3119, allocations: 0 / 0.9901 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008554/0.3128, allocations: 200.1 kB / 0.9903 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006329/0.3135, allocations: 46.58 kB / 0.9903 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3147, allocations: 0.5288 MB / 0.9908 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.315, allocations: 0.7484 MB / 0.9916 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002388/0.3152, allocations: 37.92 kB / 0.9916 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3154, allocations: 19.44 kB / 0.9916 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of SimCode: time 1.293e-06/0.3154, allocations: 0 / 0.9916 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of Templates: time 0.01023/0.3256, allocations: 3.76 MB / 0.9953 GB, free: 10.55 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)