Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001133/0.001133, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001248/0.001248, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.553/1.553, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.97/2.97, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 65.42 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4155, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00189/0.4175, allocations: 0.6826 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.4189, allocations: 1.116 MB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.419, allocations: 0 / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.4191, allocations: 7.938 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.898e-05/0.4191, allocations: 0 / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.4196, allocations: 111 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.4198, allocations: 95.81 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.4199, allocations: 7.984 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.42, allocations: 35.92 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.256e-05/0.4201, allocations: 23.91 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.4201, allocations: 8 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.818e-05/0.4202, allocations: 23.98 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.4202, allocations: 15.97 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.388e-05/0.4203, allocations: 31.86 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.4205, allocations: 91.78 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4205, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4205, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.4205, allocations: 0 / 1.07 GB, free: 8.52 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.0004407/0.4209, allocations: 381.4 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.421, allocations: 12.03 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.421, allocations: 4.938 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.4212, allocations: 180.3 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.4212, allocations: 8.375 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.4213, allocations: 8.375 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.962e-05/0.4214, allocations: 46.19 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.4214, allocations: 4.125 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4214, allocations: 7.938 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4214, allocations: 0 / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.4214, allocations: 15.97 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.4218, allocations: 308.8 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.08e-05/0.4219, allocations: 22.52 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.4219, allocations: 12.86 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-06/0.4219, allocations: 4.062 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.4221, allocations: 51.39 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.4221, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001882/0.4223, allocations: 69.53 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.4223, allocations: 55.41 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.4224, allocations: 109.8 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.4224, allocations: 25.7 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.4225, allocations: 99.95 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.4225, allocations: 8 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.354e-05/0.4226, allocations: 29.7 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4227, allocations: 314.8 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.403e-05/0.4228, allocations: 31.98 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.4228, allocations: 50.55 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.4229, allocations: 80.22 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.423, allocations: 3.984 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002333/0.4232, allocations: 143.2 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.4232, allocations: 37.8 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4233, allocations: 4 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4233, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.616e-05/0.4233, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.4233, allocations: 7.984 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.4235, allocations: 28.27 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.4236, allocations: 4 kB / 1.072 GB, free: 6.125 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.803e-05/0.4237, allocations: 121.7 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.4237, allocations: 11.98 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.4237, allocations: 7.906 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4237, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.4237, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4237, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.4238, allocations: 165.6 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4239, allocations: 3.984 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-06/0.4239, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4239, allocations: 4 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.4239, allocations: 0 / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4239, allocations: 0 / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4239, allocations: 7.938 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.424, allocations: 81.2 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.4241, allocations: 81.11 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.4241, allocations: 4.031 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.563e-05/0.4241, allocations: 3.984 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.4241, allocations: 3.938 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.4241, allocations: 4 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.821e-05/0.4242, allocations: 87.28 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4242, allocations: 3.938 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002199/0.4244, allocations: 23.98 kB / 1.073 GB, free: 5.418 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.0001471/0.4246, allocations: 99.25 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.4248, allocations: 123.3 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4248, allocations: 0 / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.22e-05/0.4248, allocations: 19.92 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.425, allocations: 9.875 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.4253, allocations: 137.9 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.4256, allocations: 0.6846 MB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.4256, allocations: 4 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.4257, allocations: 7.438 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.4257, allocations: 0 / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.003598/0.4293, allocations: 1.051 MB / 1.075 GB, free: 3.234 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1)