Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001376/0.001376, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.637/1.637, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.978/2.978, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 66.12 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4091, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002126/0.4113, allocations: 0.7075 MB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000923/0.4122, allocations: 0.8001 MB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/0.4123, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.244e-05/0.4124, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.729e-05/0.4124, allocations: 7.938 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.4125, allocations: 12 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.4126, allocations: 15.98 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.4127, allocations: 8 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.4128, allocations: 15.86 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.084e-05/0.4128, allocations: 15.92 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.4128, allocations: 0 / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.4129, allocations: 0 / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.4129, allocations: 4 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.413, allocations: 15.92 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.649e-05/0.413, allocations: 27.89 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4131, allocations: 0 / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4131, allocations: 0 / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.4131, allocations: 0 / 1.069 GB, free: 9.324 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004831/0.4136, allocations: 351.7 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4136, allocations: 8.031 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.4136, allocations: 4.938 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.4138, allocations: 168.3 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.4138, allocations: 8.312 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.4139, allocations: 384 / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.4141, allocations: 62.22 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4141, allocations: 4.125 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.4141, allocations: 3.938 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4141, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.4143, allocations: 35.97 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.4147, allocations: 276.9 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.4148, allocations: 34.5 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.161e-05/0.4149, allocations: 20.84 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.4149, allocations: 4 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.415, allocations: 34.56 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.415, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003525/0.4153, allocations: 77.64 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.4154, allocations: 51.41 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/0.4155, allocations: 101.8 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.4155, allocations: 33.83 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.4155, allocations: 91.92 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.4156, allocations: 0 / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.4156, allocations: 13.72 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4157, allocations: 322.8 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.4158, allocations: 11.98 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.979e-05/0.4159, allocations: 15.98 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.416, allocations: 36.89 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.416, allocations: 0 / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000179/0.4162, allocations: 65.56 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4162, allocations: 4 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4163, allocations: 256 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.4163, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.4164, allocations: 19.95 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4164, allocations: 4 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.4164, allocations: 3.984 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.4164, allocations: 4 kB / 1.071 GB, free: 7.262 MB / 0.8262 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 8.255e-05/0.4165, allocations: 113.8 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.4166, allocations: 4 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.4166, allocations: 7.109 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.4166, allocations: 0 / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.4166, allocations: 4 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.4166, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.4168, allocations: 165.6 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4168, allocations: 0 / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.4168, allocations: 7.984 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.4168, allocations: 3.938 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.4169, allocations: 4 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4169, allocations: 3.938 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.4169, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.4171, allocations: 163.5 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.4172, allocations: 81.05 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.4172, allocations: 0 / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.4172, allocations: 4 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.4173, allocations: 3.984 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.4173, allocations: 0 / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.934e-05/0.4174, allocations: 87.31 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4174, allocations: 0 / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002114/0.4176, allocations: 4 kB / 1.072 GB, free: 6.523 MB / 0.8262 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.0001486/0.4177, allocations: 99.25 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.4179, allocations: 31.95 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.418, allocations: 4 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.927e-05/0.418, allocations: 16.05 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.4184, allocations: 14.61 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.4187, allocations: 115.2 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.419, allocations: 0.677 MB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.4191, allocations: 7.984 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.4191, allocations: 11.5 kB / 1.072 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of SimCode: time 1.823e-06/0.4191, allocations: 0 / 1.072 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of Templates: time 0.00245/0.4216, allocations: 361.5 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1)