Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 106.6 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 189.7 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.1 MB / 222.8 MB, free: 4.918 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 292.3 MB / 0.5492 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 74.56 kB / 0.6717 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2891, allocations: 114.5 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002523/0.2916, allocations: 1.129 MB / 0.7846 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.2937, allocations: 1.324 MB / 0.7859 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.2938, allocations: 4 kB / 0.7859 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.2939, allocations: 11.86 kB / 0.7859 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.563e-05/0.294, allocations: 35.66 kB / 0.786 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008305/0.2949, allocations: 253.9 kB / 0.7862 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.2953, allocations: 415.2 kB / 0.7866 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.2956, allocations: 77.27 kB / 0.7867 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.2958, allocations: 151.6 kB / 0.7868 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.296, allocations: 159.5 kB / 0.787 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.738e-05/0.2961, allocations: 40 kB / 0.787 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.2962, allocations: 51.98 kB / 0.7871 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2963, allocations: 67.75 kB / 0.7871 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.2965, allocations: 147.4 kB / 0.7873 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.2968, allocations: 319.5 kB / 0.7876 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2968, allocations: 4 kB / 0.7876 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2969, allocations: 4 kB / 0.7876 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2969, allocations: 4 kB / 0.7876 GB, free: 9.758 MB / 0.6075 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.001218/0.2981, allocations: 0.6192 MB / 0.7882 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2981, allocations: 12.03 kB / 0.7882 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.2982, allocations: 32.64 kB / 0.7882 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.2986, allocations: 279.7 kB / 0.7885 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.2987, allocations: 24.3 kB / 0.7885 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.2987, allocations: 28.38 kB / 0.7886 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/0.2993, allocations: 233.8 kB / 0.7888 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2994, allocations: 192 / 0.7888 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.2994, allocations: 19.86 kB / 0.7888 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2994, allocations: 4 kB / 0.7888 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/0.3001, allocations: 243.5 kB / 0.789 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.3014, allocations: 0.7419 MB / 0.7898 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005303/0.3019, allocations: 210.4 kB / 0.79 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.3023, allocations: 153.1 kB / 0.7901 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.3024, allocations: 7.938 kB / 0.7901 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005576/0.3029, allocations: 261 kB / 0.7904 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.804e-06/0.3029, allocations: 0 / 0.7904 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.001378/0.3043, allocations: 0.5379 MB / 0.7909 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.3044, allocations: 59.41 kB / 0.7909 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.3046, allocations: 224.1 kB / 0.7912 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.3047, allocations: 33.7 kB / 0.7912 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.3048, allocations: 144.5 kB / 0.7913 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/0.3049, allocations: 59.2 kB / 0.7914 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.3051, allocations: 77.67 kB / 0.7915 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3052, allocations: 338.8 kB / 0.7918 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/0.3057, allocations: 191.7 kB / 0.792 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.3062, allocations: 216.2 kB / 0.7922 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008037/0.307, allocations: 396.2 kB / 0.7925 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.307, allocations: 11.88 kB / 0.7926 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001158/0.3082, allocations: 0.5401 MB / 0.7931 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.071e-05/0.3083, allocations: 71.39 kB / 0.7931 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3083, allocations: 4 kB / 0.7932 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3083, allocations: 4.125 kB / 0.7932 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.3086, allocations: 59.83 kB / 0.7932 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3086, allocations: 4 kB / 0.7932 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.3091, allocations: 83.73 kB / 0.7933 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.3092, allocations: 23.98 kB / 0.7933 GB, free: 3.566 MB / 0.6075 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,extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition6) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002216/0.3094, allocations: 168.1 kB / 0.7935 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.3095, allocations: 19.72 kB / 0.7935 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.676e-05/0.3095, allocations: 30.55 kB / 0.7935 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3095, allocations: 0 / 0.7935 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3096, allocations: 0 / 0.7935 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3096, allocations: 3.984 kB / 0.7935 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.3109, allocations: 0.787 MB / 0.7943 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3109, allocations: 0 / 0.7943 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.3111, allocations: 39.95 kB / 0.7943 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3111, allocations: 4 kB / 0.7943 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.3111, allocations: 4 kB / 0.7943 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3111, allocations: 4 kB / 0.7944 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3112, allocations: 0 / 0.7944 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.3121, allocations: 0.5042 MB / 0.7948 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.3122, allocations: 104.8 kB / 0.7949 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.3122, allocations: 4 kB / 0.7949 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.3124, allocations: 23.95 kB / 0.795 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.3125, allocations: 27.97 kB / 0.795 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.3126, allocations: 12 kB / 0.795 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001409/0.3127, allocations: 161.6 kB / 0.7952 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3127, allocations: 0 / 0.7952 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003511/0.3131, allocations: 75.88 kB / 0.7952 GB, free: 1.512 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002076/0.3133, allocations: 119.2 kB / 0.7953 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.3145, allocations: 0.5609 MB / 0.7959 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3145, allocations: 0 / 0.7959 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004271/0.3149, allocations: 191.8 kB / 0.7961 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.3154, allocations: 48.58 kB / 0.7961 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.3164, allocations: 0.5767 MB / 0.7967 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.3167, allocations: 0.7519 MB / 0.7974 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.3168, allocations: 27.38 kB / 0.7974 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.3168, allocations: 0 / 0.7974 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of Templates: time 0.005962/0.3228, allocations: 3.914 MB / 0.8013 GB, free: 11.27 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)