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.001334/0.001334, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.709/1.709, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.81/1.81, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001615/0.001615, allocations: 71.62 kB / 0.6715 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3442, allocations: 114.6 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002879/0.3472, allocations: 1.063 MB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.3492, allocations: 1.337 MB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.3493, allocations: 0 / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.3495, allocations: 27.73 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.541e-05/0.3496, allocations: 39.58 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007729/0.3503, allocations: 270.2 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004505/0.3508, allocations: 419.2 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.351, allocations: 77.27 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.3512, allocations: 151.6 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.3514, allocations: 155.5 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.828e-05/0.3515, allocations: 40 kB / 0.7868 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3516, allocations: 51.98 kB / 0.7869 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/0.3517, allocations: 67.77 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.3519, allocations: 151.3 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.3524, allocations: 423 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3524, allocations: 0 / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3524, allocations: 0 / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.3524, allocations: 4 kB / 0.7875 GB, free: 9.195 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.001231/0.3537, allocations: 0.627 MB / 0.7881 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3537, allocations: 8.031 kB / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.3538, allocations: 40.58 kB / 0.7882 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.3542, allocations: 271.7 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.3543, allocations: 24.36 kB / 0.7885 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.165e-05/0.3543, allocations: 28.36 kB / 0.7885 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006229/0.355, allocations: 241.8 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.355, allocations: 192 / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.355, allocations: 15.92 kB / 0.7887 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3551, allocations: 4 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007267/0.3558, allocations: 239.5 kB / 0.789 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.3572, allocations: 0.7497 MB / 0.7897 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.3578, allocations: 212.8 kB / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.3582, allocations: 153.1 kB / 0.79 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.3582, allocations: 3.938 kB / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000607/0.3588, allocations: 256.9 kB / 0.7903 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 2.845e-06/0.3589, allocations: 4 kB / 0.7903 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.001531/0.3604, allocations: 0.5441 MB / 0.7908 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.3605, allocations: 51.41 kB / 0.7909 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.3608, allocations: 228.1 kB / 0.7911 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.3608, allocations: 41.7 kB / 0.7911 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.361, allocations: 132.6 kB / 0.7913 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.361, allocations: 67.09 kB / 0.7913 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.3612, allocations: 81.67 kB / 0.7914 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3613, allocations: 330.8 kB / 0.7917 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.3618, allocations: 191.7 kB / 0.7919 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.3623, allocations: 220.2 kB / 0.7921 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008322/0.3632, allocations: 393 kB / 0.7925 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.3632, allocations: 3.938 kB / 0.7925 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001223/0.3644, allocations: 0.528 MB / 0.793 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.3645, allocations: 75.39 kB / 0.7931 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3645, allocations: 0 / 0.7931 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.3645, allocations: 4 kB / 0.7931 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.3649, allocations: 60.02 kB / 0.7931 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3649, allocations: 0 / 0.7931 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.3654, allocations: 91.64 kB / 0.7932 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.3654, allocations: 19.98 kB / 0.7932 GB, free: 3.016 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.0002402/0.3657, allocations: 168.1 kB / 0.7934 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.3658, allocations: 23.72 kB / 0.7934 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.921e-05/0.3658, allocations: 26.55 kB / 0.7934 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3658, allocations: 4 kB / 0.7935 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.3659, allocations: 0 / 0.7935 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.3659, allocations: 7.922 kB / 0.7935 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.3672, allocations: 0.793 MB / 0.7942 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3672, allocations: 3.938 kB / 0.7942 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.3674, allocations: 35.95 kB / 0.7943 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3675, allocations: 0 / 0.7943 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.3675, allocations: 8 kB / 0.7943 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3675, allocations: 4 kB / 0.7943 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3675, allocations: 0 / 0.7943 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009462/0.3685, allocations: 0.503 MB / 0.7948 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.3685, allocations: 92.91 kB / 0.7949 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.3686, allocations: 12 kB / 0.7949 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.3688, allocations: 27.95 kB / 0.7949 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3689, allocations: 23.97 kB / 0.7949 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.369, allocations: 12 kB / 0.7949 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001714/0.3691, allocations: 157.6 kB / 0.7951 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3692, allocations: 0 / 0.7951 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003872/0.3695, allocations: 79.78 kB / 0.7952 GB, free: 0.9531 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.0002228/0.3698, allocations: 123.2 kB / 0.7953 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.371, allocations: 0.5572 MB / 0.7958 GB, free: 248 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.371, allocations: 4.062 kB / 0.7958 GB, free: 244 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004429/0.3715, allocations: 183.8 kB / 0.796 GB, free: 60 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.3719, allocations: 43.53 kB / 0.796 GB, free: 20 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009722/0.3729, allocations: 489 kB / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.3732, allocations: 0.7597 MB / 0.7973 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.3734, allocations: 29.94 kB / 0.7973 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.3735, allocations: 31.42 kB / 0.7973 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.3735, allocations: 3.938 kB / 0.7973 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of Templates: time 0.008183/0.3817, allocations: 4.201 MB / 0.8014 GB, free: 10.51 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)