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.00112/0.00112, allocations: 102.8 kB / 16.27 MB, free: 6.418 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.001166/0.001166, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.371/1.371, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.818/1.818, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001485/0.001485, allocations: 75.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2768, allocations: 114.6 MB / 0.784 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003164/0.2801, allocations: 1.059 MB / 0.7851 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002522/0.2826, allocations: 1.339 MB / 0.7864 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.2828, allocations: 0 / 0.7864 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.2831, allocations: 23.73 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.2834, allocations: 39.59 kB / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.2844, allocations: 279.8 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005759/0.285, allocations: 415.2 kB / 0.7871 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.2852, allocations: 77.27 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.2855, allocations: 155.6 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.2858, allocations: 155.5 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.286, allocations: 43.94 kB / 0.7875 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.2862, allocations: 55.98 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.012e-05/0.2863, allocations: 59.83 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.2865, allocations: 155.3 kB / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.5161/0.8026, allocations: 419.9 kB / 0.7882 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.8027, allocations: 0 / 0.7882 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8027, allocations: 0 / 0.7882 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.8027, allocations: 0 / 0.7882 GB, free: 46.4 MB / 0.6544 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.001142/0.8038, allocations: 0.6271 MB / 0.7888 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.8039, allocations: 8.656 kB / 0.7888 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.785e-05/0.804, allocations: 37.22 kB / 0.7888 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.8043, allocations: 272.1 kB / 0.7891 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.8043, allocations: 22.09 kB / 0.7891 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-05/0.8044, allocations: 23.81 kB / 0.7891 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005611/0.8049, allocations: 241.4 kB / 0.7894 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.805, allocations: 2.812 kB / 0.7894 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.805, allocations: 19.38 kB / 0.7894 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.805, allocations: 5.25 kB / 0.7894 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006484/0.8057, allocations: 231.8 kB / 0.7896 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.8069, allocations: 0.7503 MB / 0.7903 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.8074, allocations: 210.5 kB / 0.7905 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.8077, allocations: 151.2 kB / 0.7907 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.8078, allocations: 6.562 kB / 0.7907 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005077/0.8083, allocations: 255.5 kB / 0.7909 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=27): time 2.264e-06/0.8083, allocations: 2.844 kB / 0.7909 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.001595/0.8099, allocations: 0.5416 MB / 0.7915 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.8099, allocations: 62.66 kB / 0.7915 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.8102, allocations: 224.5 kB / 0.7917 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.8102, allocations: 34.77 kB / 0.7918 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.8103, allocations: 139 kB / 0.7919 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.8103, allocations: 63.89 kB / 0.792 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.8105, allocations: 77.72 kB / 0.792 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.8106, allocations: 338.3 kB / 0.7924 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.8111, allocations: 180.2 kB / 0.7925 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/0.8115, allocations: 223.1 kB / 0.7928 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000768/0.8123, allocations: 393 kB / 0.7931 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.8123, allocations: 3.938 kB / 0.7931 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00126/0.8136, allocations: 0.5352 MB / 0.7937 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/0.8137, allocations: 75.08 kB / 0.7937 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.8137, allocations: 4.156 kB / 0.7937 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/0.8137, allocations: 0 / 0.7937 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.8141, allocations: 65.06 kB / 0.7938 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8141, allocations: 4.484 kB / 0.7938 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.8147, allocations: 82.84 kB / 0.7939 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.8147, allocations: 21.78 kB / 0.7939 GB, free: 44.23 MB / 0.6544 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.0002165/0.815, allocations: 165.3 kB / 0.7941 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.815, allocations: 22.53 kB / 0.7941 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.793e-05/0.8151, allocations: 32.94 kB / 0.7941 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.8151, allocations: 2.625 kB / 0.7941 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.8151, allocations: 0 / 0.7941 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8151, allocations: 0 / 0.7941 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.8164, allocations: 0.7951 MB / 0.7949 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8164, allocations: 2.906 kB / 0.7949 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.8166, allocations: 36.12 kB / 0.7949 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.8166, allocations: 3.375 kB / 0.7949 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.8166, allocations: 10.75 kB / 0.7949 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.8166, allocations: 3.047 kB / 0.7949 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8167, allocations: 0 / 0.7949 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009293/0.8176, allocations: 0.4963 MB / 0.7954 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/0.8176, allocations: 106 kB / 0.7955 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.8177, allocations: 8.688 kB / 0.7955 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.8179, allocations: 29.52 kB / 0.7956 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.818, allocations: 26.38 kB / 0.7956 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.8181, allocations: 16.5 kB / 0.7956 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001154/0.8182, allocations: 158 kB / 0.7958 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8182, allocations: 0 / 0.7958 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003842/0.8186, allocations: 71.39 kB / 0.7958 GB, free: 43.44 MB / 0.6544 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.0001901/0.8188, allocations: 117.8 kB / 0.7959 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.8199, allocations: 0.5669 MB / 0.7965 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.82, allocations: 0 / 0.7965 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.8204, allocations: 188 kB / 0.7967 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/0.821, allocations: 45.5 kB / 0.7967 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.8222, allocations: 0.5117 MB / 0.7972 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.8225, allocations: 0.7535 MB / 0.7979 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.8226, allocations: 24.28 kB / 0.798 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of SimCode: time 1.323e-06/0.8226, allocations: 2.531 kB / 0.798 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of Templates: time 0.008853/0.8315, allocations: 3.902 MB / 0.8018 GB, free: 42.06 MB / 0.6544 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)