Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.879/1.879, allocations: 288.4 MB / 303.7 MB, free: 8.031 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.001112/0.001112, allocations: 193.5 kB / 372.3 MB, free: 10.09 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.997/1.997, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0009523/0.0009523, allocations: 90.36 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.00041, allocations: 16.47 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3031, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001384/0.3045, allocations: 0.7246 MB / 0.9808 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3065, allocations: 1.312 MB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.3066, allocations: 4 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.3068, allocations: 11.86 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.3069, allocations: 39.7 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008689/0.3078, allocations: 230.6 kB / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.3081, allocations: 319.3 kB / 0.9827 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.3083, allocations: 69.28 kB / 0.9828 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.3085, allocations: 115.7 kB / 0.9829 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3087, allocations: 135.5 kB / 0.983 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.548e-05/0.3088, allocations: 12 kB / 0.983 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.89e-05/0.3089, allocations: 31.94 kB / 0.9831 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.309, allocations: 43.83 kB / 0.9831 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.3091, allocations: 149.1 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.3094, allocations: 311.5 kB / 0.9835 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3095, allocations: 7.922 kB / 0.9835 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3095, allocations: 0 / 0.9835 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3095, allocations: 8 kB / 0.9835 GB, free: 23.8 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.001194/0.3107, allocations: 0.5802 MB / 0.9841 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.3108, allocations: 12.03 kB / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.3109, allocations: 28.66 kB / 0.9842 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.3113, allocations: 279.7 kB / 0.9844 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.3114, allocations: 20.38 kB / 0.9844 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.3114, allocations: 20.38 kB / 0.9845 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.3121, allocations: 261.8 kB / 0.9847 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3122, allocations: 192 / 0.9847 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.3122, allocations: 19.91 kB / 0.9847 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3122, allocations: 4 kB / 0.9847 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000857/0.3131, allocations: 267.5 kB / 0.985 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.3146, allocations: 0.7615 MB / 0.9857 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006241/0.3152, allocations: 230.4 kB / 0.9859 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/0.3157, allocations: 170.8 kB / 0.9861 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3157, allocations: 3.938 kB / 0.9861 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000672/0.3164, allocations: 262.9 kB / 0.9864 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 4.599e-06/0.3164, allocations: 0 / 0.9864 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001744/0.3182, allocations: 0.5979 MB / 0.987 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.3183, allocations: 63.39 kB / 0.987 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.3185, allocations: 224.1 kB / 0.9872 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/0.3186, allocations: 33.7 kB / 0.9873 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3187, allocations: 136.5 kB / 0.9874 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.506e-05/0.3188, allocations: 71.09 kB / 0.9875 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.3188, allocations: 8 kB / 0.9875 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.3189, allocations: 330.8 kB / 0.9878 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/0.3195, allocations: 207.7 kB / 0.988 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.3202, allocations: 240.1 kB / 0.9882 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000989/0.3212, allocations: 419.4 kB / 0.9886 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3212, allocations: 3.938 kB / 0.9886 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001423/0.3226, allocations: 0.5672 MB / 0.9892 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/0.3227, allocations: 67.39 kB / 0.9892 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3227, allocations: 4 kB / 0.9892 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.3228, allocations: 0 / 0.9892 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.3232, allocations: 75.89 kB / 0.9893 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.3233, allocations: 4 kB / 0.9893 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006388/0.3239, allocations: 107.8 kB / 0.9894 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-05/0.324, allocations: 19.98 kB / 0.9894 GB, free: 17.47 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.0002943/0.3243, allocations: 172.3 kB / 0.9896 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.3243, allocations: 23.72 kB / 0.9896 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.063e-05/0.3244, allocations: 26.55 kB / 0.9896 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.3244, allocations: 4 kB / 0.9896 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.3245, allocations: 0 / 0.9896 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3245, allocations: 0 / 0.9896 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.326, allocations: 0.8226 MB / 0.9904 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3261, allocations: 3.984 kB / 0.9905 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.3263, allocations: 35.97 kB / 0.9905 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3263, allocations: 8 kB / 0.9905 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.3264, allocations: 7.984 kB / 0.9905 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3264, allocations: 4 kB / 0.9905 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3264, allocations: 0 / 0.9905 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.3275, allocations: 0.5341 MB / 0.991 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.3276, allocations: 100.8 kB / 0.9911 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.3277, allocations: 7.984 kB / 0.9911 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.3279, allocations: 31.97 kB / 0.9912 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.3281, allocations: 27.95 kB / 0.9912 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.3281, allocations: 19.98 kB / 0.9912 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001378/0.3283, allocations: 153.6 kB / 0.9914 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3283, allocations: 0 / 0.9914 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000493/0.3288, allocations: 75.88 kB / 0.9914 GB, free: 15.33 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.0002474/0.329, allocations: 115.2 kB / 0.9915 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.3304, allocations: 0.5571 MB / 0.9921 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3304, allocations: 3.938 kB / 0.9921 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.331, allocations: 209 kB / 0.9923 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.3315, allocations: 42.64 kB / 0.9923 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.3326, allocations: 0.5331 MB / 0.9928 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.3329, allocations: 0.7521 MB / 0.9936 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001761/0.3331, allocations: 37.92 kB / 0.9936 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.3332, allocations: 19.44 kB / 0.9936 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.3332, allocations: 0 / 0.9936 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.008606/0.3418, allocations: 3.814 MB / 0.9974 GB, free: 9.211 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)