Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001766, 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.001966/0.001966, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.512/1.512, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.985/2.985, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 63.45 kB / 0.9114 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4053, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002072/0.4074, allocations: 0.6826 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.4088, allocations: 1.124 MB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.4088, allocations: 0 / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.409, allocations: 3.984 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.932e-05/0.409, allocations: 11.94 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.4094, allocations: 107.2 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.4096, allocations: 79.83 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.879e-05/0.4096, allocations: 7.984 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.226e-05/0.4097, allocations: 31.97 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.4098, allocations: 23.91 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.4098, allocations: 4 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-05/0.4099, allocations: 23.92 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.41, allocations: 11.98 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.41, allocations: 31.84 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.4102, allocations: 87.78 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4102, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4102, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.4102, allocations: 0 / 1.07 GB, free: 8.695 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.0004932/0.4107, allocations: 377.4 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.4108, allocations: 8.031 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.4108, allocations: 4.938 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.411, allocations: 184.3 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.411, allocations: 12.38 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.4111, allocations: 4.375 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.4112, allocations: 42.25 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.4112, allocations: 192 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4112, allocations: 7.922 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4112, allocations: 4 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.244e-05/0.4113, allocations: 11.94 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.4117, allocations: 308.8 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.883e-05/0.4117, allocations: 22.58 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.4117, allocations: 20.78 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.4118, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.4119, allocations: 55.41 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4119, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001978/0.4121, allocations: 69.58 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.4121, allocations: 55.41 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.4122, allocations: 113.8 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.4123, allocations: 25.7 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.4123, allocations: 92.03 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.4123, allocations: 4 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.4124, allocations: 33.64 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4125, allocations: 322.8 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.112e-05/0.4126, allocations: 35.98 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.4127, allocations: 42.88 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.4128, allocations: 84.2 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4128, allocations: 4 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002834/0.4131, allocations: 143.3 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.4132, allocations: 43.41 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4132, allocations: 4.234 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4132, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.568e-05/0.4132, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.4132, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.4134, allocations: 27.97 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.4135, allocations: 11.97 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.884e-05/0.4136, allocations: 125.8 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.4136, allocations: 4 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.4136, allocations: 3.906 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4136, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4136, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4136, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.4138, allocations: 169.6 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4138, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-06/0.4138, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.4138, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.4138, allocations: 4 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4138, allocations: 7.938 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4138, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.856e-05/0.4139, allocations: 84.95 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.414, allocations: 81.11 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.414, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.414, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.414, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.4141, allocations: 7.984 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.4141, allocations: 87.28 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4141, allocations: 3.938 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002068/0.4143, allocations: 20 kB / 1.072 GB, free: 5.605 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001575/0.4145, allocations: 107.4 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.4147, allocations: 127.2 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4147, allocations: 0 / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.653e-05/0.4147, allocations: 8 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.4149, allocations: 16.73 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.4152, allocations: 137.6 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.4155, allocations: 0.6809 MB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.714e-05/0.4155, allocations: 0 / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.4156, allocations: 15.44 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.4156, allocations: 4 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of Templates: time 0.003252/0.4188, allocations: 1.004 MB / 1.074 GB, free: 3.453 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1)