Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.001613/0.001613, allocations: 108 kB / 15.61 MB, free: 148 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.001617/0.001617, allocations: 193.2 kB / 16.53 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.99/2.99, allocations: 472.6 MB / 0.7451 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.09 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3981, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002787/0.4009, allocations: 1.345 MB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.403, allocations: 1.548 MB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.4031, allocations: 7.938 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.4033, allocations: 39.55 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.4034, allocations: 63.42 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.4048, allocations: 0.4892 MB / 1.072 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006494/0.4054, allocations: 0.6794 MB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003364/0.4058, allocations: 169.2 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.406, allocations: 247.4 kB / 1.073 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.4063, allocations: 219.2 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.4064, allocations: 64 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.4066, allocations: 87.92 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.4067, allocations: 75.75 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.4069, allocations: 246.9 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006563/0.4076, allocations: 0.666 MB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.4076, allocations: 7.984 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4076, allocations: 0 / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.4076, allocations: 0 / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001314/0.409, allocations: 0.935 MB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.409, allocations: 12.03 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.4091, allocations: 52.45 kB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.4105, allocations: 479.8 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.4105, allocations: 32.92 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/0.4106, allocations: 40.38 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.4113, allocations: 321.3 kB / 1.076 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4113, allocations: 3.938 kB / 1.076 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.4113, allocations: 12 kB / 1.076 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4113, allocations: 8 kB / 1.076 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006338/0.412, allocations: 250 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.4135, allocations: 0.9313 MB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/0.4142, allocations: 381.8 kB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.4147, allocations: 284.8 kB / 1.078 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.4147, allocations: 4 kB / 1.078 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005678/0.4153, allocations: 327 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.294e-06/0.4153, allocations: 0 / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001653/0.417, allocations: 0.8304 MB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.4171, allocations: 191.9 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.4174, allocations: 292.4 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.4175, allocations: 49.64 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.4176, allocations: 168.8 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-05/0.4177, allocations: 126.2 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.418, allocations: 130.1 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4181, allocations: 354.8 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005949/0.4187, allocations: 268.8 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/0.4194, allocations: 365.8 kB / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.4205, allocations: 0.9051 MB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.4205, allocations: 7.938 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001602/0.4222, allocations: 0.9938 MB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002708/0.4224, allocations: 255.3 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4225, allocations: 7.984 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.4225, allocations: 4 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.4229, allocations: 63.91 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.4229, allocations: 7.984 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007374/0.4236, allocations: 143.5 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.4238, allocations: 71.86 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0002935/0.4241, allocations: 328.7 kB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.4241, allocations: 35.62 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.092e-05/0.4242, allocations: 43.42 kB / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4242, allocations: 4 kB / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4242, allocations: 0 / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4243, allocations: 3.984 kB / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.426, allocations: 1.198 MB / 1.085 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.426, allocations: 0 / 1.085 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.4262, allocations: 63.89 kB / 1.085 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4262, allocations: 4 kB / 1.085 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.4263, allocations: 8 kB / 1.085 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.4263, allocations: 12 kB / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4263, allocations: 3.938 kB / 1.085 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.4274, allocations: 0.7651 MB / 1.085 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-05/0.4275, allocations: 112.6 kB / 1.085 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.4276, allocations: 15.98 kB / 1.085 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.4278, allocations: 31.91 kB / 1.086 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.4279, allocations: 43.88 kB / 1.086 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.428, allocations: 47.94 kB / 1.086 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001972/0.4282, allocations: 195.1 kB / 1.086 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4282, allocations: 0 / 1.086 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006663/0.4289, allocations: 107.9 kB / 1.086 GB, free: 7.504 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0002714/0.4292, allocations: 131.1 kB / 1.086 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002345/0.4315, allocations: 1.203 MB / 1.087 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4315, allocations: 0 / 1.087 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008044/0.4323, allocations: 0.5164 MB / 1.088 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007992/0.4332, allocations: 87.83 kB / 1.088 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.435, allocations: 0.8056 MB / 1.089 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.4355, allocations: 0.7963 MB / 1.089 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00035/0.4359, allocations: 95.19 kB / 1.089 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.008e-05/0.436, allocations: 31.44 kB / 1.089 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of SimCode: time 9.52e-07/0.436, allocations: 3.938 kB / 1.089 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of Templates: time 0.01831/0.4543, allocations: 6.548 MB / 1.096 GB, free: 13.14 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)