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.001342/0.001342, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001305/0.001305, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.495/1.495, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.807/1.807, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001662/0.001662, allocations: 68.47 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.255, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003777/0.2588, allocations: 1.067 MB / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00283/0.2617, allocations: 1.336 MB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.2619, allocations: 3.938 kB / 0.7871 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.262, allocations: 15.8 kB / 0.7872 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.2622, allocations: 39.59 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009361/0.2631, allocations: 286 kB / 0.7875 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4247/0.6878, allocations: 416.8 kB / 0.7879 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002999/0.6882, allocations: 71.39 kB / 0.7879 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.6885, allocations: 157.8 kB / 0.7881 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.6887, allocations: 165.1 kB / 0.7882 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.017e-05/0.6888, allocations: 39.06 kB / 0.7883 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.6889, allocations: 56.64 kB / 0.7883 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.689, allocations: 61.47 kB / 0.7884 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.6892, allocations: 153.6 kB / 0.7885 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.6898, allocations: 427.1 kB / 0.7889 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.6898, allocations: 0.5938 kB / 0.7889 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6898, allocations: 1.406 kB / 0.7889 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.6898, allocations: 2.625 kB / 0.789 GB, free: 46.48 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.001224/0.691, allocations: 0.6294 MB / 0.7896 GB, free: 46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6911, allocations: 9.219 kB / 0.7896 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.6912, allocations: 33.45 kB / 0.7896 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.6915, allocations: 279.6 kB / 0.7899 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.6916, allocations: 23.56 kB / 0.7899 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/0.6917, allocations: 23.19 kB / 0.7899 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.6922, allocations: 241.1 kB / 0.7901 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.6922, allocations: 3.562 kB / 0.7902 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.6923, allocations: 19.8 kB / 0.7902 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.6923, allocations: 5.25 kB / 0.7902 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006268/0.6929, allocations: 232 kB / 0.7904 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.6941, allocations: 0.7486 MB / 0.7911 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.6946, allocations: 210.2 kB / 0.7913 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.6949, allocations: 153.4 kB / 0.7915 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.695, allocations: 4.594 kB / 0.7915 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004791/0.6955, allocations: 256.9 kB / 0.7917 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=27): time 2.024e-06/0.6955, allocations: 0.625 kB / 0.7917 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.001287/0.6968, allocations: 0.5458 MB / 0.7923 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.6968, allocations: 57.53 kB / 0.7923 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.697, allocations: 226 kB / 0.7925 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.6971, allocations: 32.73 kB / 0.7926 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.6971, allocations: 142.6 kB / 0.7927 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.6972, allocations: 62 kB / 0.7928 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.6974, allocations: 80.12 kB / 0.7928 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.6974, allocations: 338 kB / 0.7932 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.6979, allocations: 184.4 kB / 0.7933 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.6983, allocations: 226.6 kB / 0.7935 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.6991, allocations: 395.1 kB / 0.7939 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6991, allocations: 3.938 kB / 0.7939 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001005/0.7001, allocations: 0.5345 MB / 0.7944 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.7001, allocations: 72.67 kB / 0.7945 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7001, allocations: 0 / 0.7945 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.7002, allocations: 3.781 kB / 0.7945 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.7005, allocations: 58.06 kB / 0.7946 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.7005, allocations: 3.5 kB / 0.7946 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.7009, allocations: 84.73 kB / 0.7947 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.701, allocations: 19.22 kB / 0.7947 GB, free: 44.3 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.0001511/0.7011, allocations: 172 kB / 0.7948 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.7012, allocations: 22.16 kB / 0.7949 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.7012, allocations: 26.81 kB / 0.7949 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.7012, allocations: 7.406 kB / 0.7949 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7012, allocations: 0 / 0.7949 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.7012, allocations: 0 / 0.7949 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.7023, allocations: 0.7925 MB / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7023, allocations: 128 / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.7025, allocations: 37.3 kB / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.7025, allocations: 1.922 kB / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.7025, allocations: 8.922 kB / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7025, allocations: 3.438 kB / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7025, allocations: 0 / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/0.7033, allocations: 0.4963 MB / 0.7962 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.7034, allocations: 104.6 kB / 0.7963 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.7034, allocations: 12.91 kB / 0.7963 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.7037, allocations: 20.75 kB / 0.7963 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.7038, allocations: 28.69 kB / 0.7964 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.7038, allocations: 17.69 kB / 0.7964 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001044/0.7039, allocations: 157.7 kB / 0.7965 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7039, allocations: 0 / 0.7965 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003512/0.7043, allocations: 76.92 kB / 0.7966 GB, free: 43.5 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.0001756/0.7045, allocations: 119.4 kB / 0.7967 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009714/0.7054, allocations: 0.5292 MB / 0.7972 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7055, allocations: 0 / 0.7972 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.7058, allocations: 183.6 kB / 0.7974 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.7063, allocations: 50.11 kB / 0.7975 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000785/0.7071, allocations: 484.8 kB / 0.7979 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.7072, allocations: 0.7531 MB / 0.7987 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.7074, allocations: 37.67 kB / 0.7987 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.7074, allocations: 24.75 kB / 0.7987 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7074, allocations: 0 / 0.7987 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.009018/0.7165, allocations: 4.199 MB / 0.8028 GB, free: 42.18 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)