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.001258/0.001258, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001914/0.001914, allocations: 189.5 kB / 16.25 MB, free: 6.621 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.63/1.63, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.885/1.885, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.001462/0.001462, allocations: 71.34 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3425, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002799/0.3454, allocations: 1.132 MB / 0.784 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.3475, allocations: 1.32 MB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.566e-05/0.3477, allocations: 3.938 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.3478, allocations: 15.86 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.174e-05/0.3479, allocations: 31.66 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.3487, allocations: 258.4 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004203/0.3491, allocations: 419.2 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.3493, allocations: 77.22 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.3495, allocations: 151.6 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.3497, allocations: 155.4 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.3498, allocations: 40 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.3499, allocations: 51.98 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.448e-05/0.35, allocations: 67.81 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.3501, allocations: 147.4 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004098/0.3505, allocations: 427 kB / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3506, allocations: 0 / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3506, allocations: 3.938 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3506, allocations: 0 / 0.787 GB, free: 9.605 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.001277/0.3519, allocations: 0.627 MB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3519, allocations: 12.03 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.738e-05/0.352, allocations: 32.64 kB / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.3525, allocations: 271.7 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.3525, allocations: 24.36 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.3526, allocations: 24.38 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.3532, allocations: 237.8 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3532, allocations: 4.172 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.3533, allocations: 15.92 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3533, allocations: 4 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006564/0.3539, allocations: 235.5 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.3552, allocations: 0.7496 MB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.3557, allocations: 218.4 kB / 0.7894 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.3561, allocations: 145.1 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.3562, allocations: 7.938 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005911/0.3568, allocations: 264.9 kB / 0.7898 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.783e-06/0.3568, allocations: 0 / 0.7898 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.001383/0.3582, allocations: 0.5419 MB / 0.7903 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.3582, allocations: 55.41 kB / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.3585, allocations: 224.1 kB / 0.7906 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.3585, allocations: 37.7 kB / 0.7906 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.3587, allocations: 136.6 kB / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.3587, allocations: 67.11 kB / 0.7908 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.3589, allocations: 77.67 kB / 0.7909 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.359, allocations: 334.8 kB / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.3595, allocations: 199.7 kB / 0.7914 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.36, allocations: 220.2 kB / 0.7916 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008328/0.3609, allocations: 392.8 kB / 0.792 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3609, allocations: 7.875 kB / 0.792 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001193/0.3621, allocations: 0.528 MB / 0.7925 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.686e-05/0.3622, allocations: 71.52 kB / 0.7926 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.3622, allocations: 8 kB / 0.7926 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3622, allocations: 0 / 0.7926 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.3625, allocations: 51.95 kB / 0.7926 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3625, allocations: 3.938 kB / 0.7926 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.3631, allocations: 99.64 kB / 0.7927 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.3631, allocations: 15.98 kB / 0.7928 GB, free: 3.418 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.000225/0.3633, allocations: 168.1 kB / 0.7929 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.3634, allocations: 23.72 kB / 0.7929 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.629e-05/0.3635, allocations: 26.55 kB / 0.793 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.3635, allocations: 4 kB / 0.793 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/0.3635, allocations: 0 / 0.793 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.3635, allocations: 7.984 kB / 0.793 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.3649, allocations: 0.7831 MB / 0.7937 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3649, allocations: 0 / 0.7937 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.3651, allocations: 43.89 kB / 0.7938 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3651, allocations: 0 / 0.7938 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.3651, allocations: 8 kB / 0.7938 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3651, allocations: 0 / 0.7938 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3651, allocations: 0 / 0.7938 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000915/0.3661, allocations: 0.5042 MB / 0.7943 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.3661, allocations: 92.91 kB / 0.7944 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.3662, allocations: 8 kB / 0.7944 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.3664, allocations: 27.95 kB / 0.7944 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/0.3665, allocations: 23.97 kB / 0.7944 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.3666, allocations: 12 kB / 0.7944 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000144/0.3667, allocations: 157.6 kB / 0.7946 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3667, allocations: 8 kB / 0.7946 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003745/0.3671, allocations: 75.78 kB / 0.7947 GB, free: 1.363 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.0002039/0.3673, allocations: 123.2 kB / 0.7948 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.3686, allocations: 0.5609 MB / 0.7953 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3686, allocations: 0 / 0.7953 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.3691, allocations: 187.8 kB / 0.7955 GB, free: 476 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.3695, allocations: 56.53 kB / 0.7956 GB, free: 420 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.3705, allocations: 0.5399 MB / 0.7961 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.371, allocations: 0.7558 MB / 0.7968 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.3712, allocations: 33.94 kB / 0.7969 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.3712, allocations: 23.42 kB / 0.7969 GB, free: 15 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.3712, allocations: 0 / 0.7969 GB, free: 15 MB / 0.6231 GB Notification: Performance of Templates: time 0.009476/0.3807, allocations: 4.116 MB / 0.8009 GB, free: 10.93 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)