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.RealReplicator.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.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01205/0.01205, allocations: 96.38 kB / 15.73 MB, free: 6.055 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.001335/0.001335, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.684/1.684, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.793/1.793, allocations: 251.7 MB / 0.5094 GB, free: 3.035 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.001602/0.001602, allocations: 82.06 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3296, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.003509/0.3332, allocations: 1.34 MB / 0.8293 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.3336, allocations: 108.9 kB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.3337, allocations: 4 kB / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.3338, allocations: 0 / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.31e-05/0.3339, allocations: 3.938 kB / 0.8295 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.3341, allocations: 15.97 kB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.3342, allocations: 23.92 kB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.3344, allocations: 4 kB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.3345, allocations: 15.92 kB / 0.8295 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.3346, allocations: 8 kB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.3346, allocations: 0 / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.3346, allocations: 8 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.3347, allocations: 11.92 kB / 0.8295 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.199e-05/0.3348, allocations: 11.94 kB / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.3349, allocations: 35.81 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.3349, allocations: 0 / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.186e-06/0.3349, allocations: 0 / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3349, allocations: 0 / 0.8296 GB, free: 14.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000663/0.3356, allocations: 339.5 kB / 0.8299 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.3357, allocations: 11.97 kB / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.3357, allocations: 12.89 kB / 0.8299 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.336, allocations: 172.3 kB / 0.8301 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.336, allocations: 4.375 kB / 0.8301 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.336, allocations: 384 / 0.8301 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.3363, allocations: 58.23 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3363, allocations: 192 / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.3364, allocations: 3.938 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3364, allocations: 0 / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.3365, allocations: 39.95 kB / 0.8302 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.3371, allocations: 280.7 kB / 0.8305 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3372, allocations: 34.55 kB / 0.8305 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.075e-05/0.3373, allocations: 28.83 kB / 0.8305 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3373, allocations: 4 kB / 0.8305 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.3374, allocations: 30.56 kB / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.793e-06/0.3374, allocations: 0 / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0004569/0.3379, allocations: 77.58 kB / 0.8306 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.3379, allocations: 59.41 kB / 0.8307 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.3381, allocations: 93.98 kB / 0.8308 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3381, allocations: 29.7 kB / 0.8308 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3382, allocations: 96.08 kB / 0.8309 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3382, allocations: 0 / 0.8309 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.3383, allocations: 9.719 kB / 0.8309 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3385, allocations: 318.8 kB / 0.8312 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.3385, allocations: 15.98 kB / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.683e-05/0.3386, allocations: 19.97 kB / 0.8312 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.3388, allocations: 37.02 kB / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3388, allocations: 0 / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002125/0.339, allocations: 65.66 kB / 0.8313 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.3391, allocations: 8 kB / 0.8313 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3391, allocations: 0 / 0.8313 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.3391, allocations: 4.094 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3392, allocations: 7.984 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3392, allocations: 0 / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.3393, allocations: 4 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.3393, allocations: 0 / 0.8314 GB, free: 12.55 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001292/0.3395, allocations: 121.8 kB / 0.8315 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.3395, allocations: 3.953 kB / 0.8315 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.3395, allocations: 3.125 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3395, allocations: 4 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3396, allocations: 4 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3396, allocations: 0 / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.3398, allocations: 161.6 kB / 0.8316 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3398, allocations: 0 / 0.8316 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.3398, allocations: 7.938 kB / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3399, allocations: 4 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3399, allocations: 0 / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3399, allocations: 3.938 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3399, allocations: 0 / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.3402, allocations: 163.5 kB / 0.8318 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.3402, allocations: 77.11 kB / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3402, allocations: 7.984 kB / 0.8319 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.3403, allocations: 7.938 kB / 0.8319 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.3404, allocations: 0 / 0.8319 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.3404, allocations: 0 / 0.8319 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.3404, allocations: 91.3 kB / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3404, allocations: 0 / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002163/0.3407, allocations: 4 kB / 0.832 GB, free: 11.8 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001852/0.3409, allocations: 99.19 kB / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.3411, allocations: 39.89 kB / 0.8321 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3411, allocations: 64 / 0.8321 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.689e-05/0.3412, allocations: 15.98 kB / 0.8321 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.3416, allocations: 7.938 kB / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.3421, allocations: 120.7 kB / 0.8323 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3425, allocations: 0.6805 MB / 0.8329 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.777e-05/0.3425, allocations: 7.984 kB / 0.8329 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.3426, allocations: 7.438 kB / 0.8329 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.3426, allocations: 4.062 kB / 0.833 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.003251/0.3458, allocations: 424.6 kB / 0.8334 GB, free: 10.35 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)