Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.008319/0.008319, allocations: 102 kB / 15.73 MB, free: 6.051 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.001686/0.001686, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.755/1.755, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.66/1.66, allocations: 251.7 MB / 0.5094 GB, free: 3.047 MB / 414.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.001665/0.001665, allocations: 75.89 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3035, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003602/0.3071, allocations: 1.659 MB / 0.8297 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008124/0.308, allocations: 272 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/0.3081, allocations: 0 / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.3083, allocations: 15.8 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.3084, allocations: 27.67 kB / 0.83 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.3088, allocations: 67.89 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.3092, allocations: 239.4 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.3094, allocations: 65.52 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.3096, allocations: 99.67 kB / 0.8304 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.3098, allocations: 123.6 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/0.3098, allocations: 24 kB / 0.8305 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.259e-05/0.3099, allocations: 20 kB / 0.8306 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.854e-05/0.31, allocations: 67.73 kB / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.3102, allocations: 103.5 kB / 0.8307 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.3105, allocations: 259.1 kB / 0.831 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3106, allocations: 0 / 0.831 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.986e-06/0.3106, allocations: 0 / 0.831 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.3106, allocations: 0 / 0.831 GB, free: 13.21 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.001778/0.3124, allocations: 0.5536 MB / 0.8315 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.3124, allocations: 16.03 kB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.3125, allocations: 16.75 kB / 0.8315 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.3129, allocations: 239.8 kB / 0.8318 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.3129, allocations: 16.36 kB / 0.8318 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.313, allocations: 16.38 kB / 0.8318 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008017/0.3138, allocations: 285.5 kB / 0.8321 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3138, allocations: 192 / 0.8321 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.3138, allocations: 11.94 kB / 0.8321 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3139, allocations: 4 kB / 0.8321 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.3149, allocations: 291.7 kB / 0.8324 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.3166, allocations: 0.6674 MB / 0.833 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008904/0.3175, allocations: 266.4 kB / 0.8333 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/0.3181, allocations: 184.7 kB / 0.8335 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.3181, allocations: 0 / 0.8335 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007566/0.3189, allocations: 296.9 kB / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=27): time 2.154e-06/0.3189, allocations: 0 / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.001946/0.3208, allocations: 0.6084 MB / 0.8343 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.3209, allocations: 59.41 kB / 0.8344 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.3212, allocations: 183.8 kB / 0.8346 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.3212, allocations: 41.7 kB / 0.8346 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.3214, allocations: 124.5 kB / 0.8347 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.174e-05/0.3214, allocations: 75.03 kB / 0.8348 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.3216, allocations: 57.7 kB / 0.8348 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.3218, allocations: 330.8 kB / 0.8352 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/0.3224, allocations: 163.9 kB / 0.8353 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.3229, allocations: 175.9 kB / 0.8355 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.324, allocations: 320.4 kB / 0.8358 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.324, allocations: 4 kB / 0.8358 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001346/0.3254, allocations: 409.5 kB / 0.8362 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.3254, allocations: 4 kB / 0.8362 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3254, allocations: 0 / 0.8362 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.694e-05/0.3255, allocations: 11.88 kB / 0.8362 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.326, allocations: 83.86 kB / 0.8363 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.326, allocations: 0 / 0.8363 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.3263, allocations: 55.69 kB / 0.8363 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.3264, allocations: 12 kB / 0.8363 GB, free: 7.469 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 (extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.count,$PRE.pul1.count,pul1.T_start,$PRE.pul1.T_start,pul.count,$PRE.pul.count,pul.T_start,$PRE.pul.T_start,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.000266/0.3267, allocations: 156 kB / 0.8365 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.3267, allocations: 19.81 kB / 0.8365 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.3268, allocations: 30.48 kB / 0.8365 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.3268, allocations: 4 kB / 0.8365 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.3268, allocations: 0 / 0.8365 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3268, allocations: 0 / 0.8365 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.3287, allocations: 0.8143 MB / 0.8373 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3287, allocations: 3.938 kB / 0.8373 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.329, allocations: 51.94 kB / 0.8374 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.329, allocations: 0 / 0.8374 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.3291, allocations: 11.98 kB / 0.8374 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.3291, allocations: 4 kB / 0.8374 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3291, allocations: 0 / 0.8374 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.3305, allocations: 0.543 MB / 0.8379 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.3306, allocations: 100.8 kB / 0.838 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.3307, allocations: 11.98 kB / 0.838 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.331, allocations: 39.94 kB / 0.8381 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.3312, allocations: 35.95 kB / 0.8381 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.3312, allocations: 23.97 kB / 0.8381 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001552/0.3314, allocations: 135.2 kB / 0.8383 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3314, allocations: 0 / 0.8383 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003676/0.3318, allocations: 55.89 kB / 0.8383 GB, free: 5.34 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 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002946/0.3321, allocations: 119.2 kB / 0.8384 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.3334, allocations: 396.7 kB / 0.8388 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3335, allocations: 0 / 0.8388 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006668/0.3341, allocations: 211.8 kB / 0.839 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.3346, allocations: 35.91 kB / 0.8391 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.3358, allocations: 460.2 kB / 0.8395 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.3361, allocations: 0.7359 MB / 0.8402 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.3363, allocations: 33.94 kB / 0.8402 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/0.3364, allocations: 23.44 kB / 0.8403 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of SimCode: time 1.563e-06/0.3364, allocations: 0 / 0.8403 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of Templates: time 0.007505/0.3439, allocations: 3.24 MB / 0.8434 GB, free: 72 kB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)