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.001048/0.001048, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008687/0.008688, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.5/1.5, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.003/3.003, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 12.19 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4153, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001055/0.4164, allocations: 360 kB / 1.074 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.418, allocations: 1.108 MB / 1.076 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.418, allocations: 4 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.692e-05/0.4181, allocations: 7.938 kB / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.199e-05/0.4182, allocations: 3.984 kB / 1.076 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.4187, allocations: 109.4 kB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.4188, allocations: 79.83 kB / 1.076 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.429e-05/0.4189, allocations: 7.984 kB / 1.076 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.442e-05/0.419, allocations: 27.97 kB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.555e-05/0.4191, allocations: 31.91 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.4191, allocations: 4 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-05/0.4192, allocations: 23.92 kB / 1.076 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.4192, allocations: 11.92 kB / 1.076 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.738e-05/0.4193, allocations: 57.55 kB / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.4195, allocations: 83.77 kB / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4195, allocations: 4 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.205e-06/0.4195, allocations: 0 / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4195, allocations: 0 / 1.076 GB, free: 5.586 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.0005099/0.42, allocations: 361.4 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4201, allocations: 12.03 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.4202, allocations: 4.938 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.4204, allocations: 180.4 kB / 1.077 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.4204, allocations: 384 / 1.077 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.4204, allocations: 12.38 kB / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.4206, allocations: 42.25 kB / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4206, allocations: 192 / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.4206, allocations: 3.938 kB / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4206, allocations: 3.938 kB / 1.077 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.4207, allocations: 15.98 kB / 1.077 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.4211, allocations: 312.7 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.886e-05/0.4212, allocations: 26.5 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.4212, allocations: 8.922 kB / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-06/0.4212, allocations: 0 / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.4213, allocations: 67.39 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4213, allocations: 0 / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002481/0.4216, allocations: 65.58 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.4217, allocations: 55.34 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.4218, allocations: 105.8 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.4218, allocations: 33.7 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.4219, allocations: 88.14 kB / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.422, allocations: 7.891 kB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.422, allocations: 21.72 kB / 1.077 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002275/0.4223, allocations: 322.8 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.082e-05/0.4224, allocations: 27.98 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.4225, allocations: 42.56 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.4226, allocations: 88.14 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/0.4226, allocations: 8 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003132/0.423, allocations: 143.2 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/0.423, allocations: 37.69 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.423, allocations: 0 / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.4231, allocations: 4 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.427e-05/0.4231, allocations: 0 / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.4231, allocations: 0 / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.4234, allocations: 41.78 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.4235, allocations: 15.92 kB / 1.078 GB, free: 3.203 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 0.0001748/0.4236, allocations: 113.8 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.4237, allocations: 4 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.4237, allocations: 7.906 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4237, allocations: 0 / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4237, allocations: 0 / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.4237, allocations: 4 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.424, allocations: 165.6 kB / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.424, allocations: 0 / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-06/0.424, allocations: 3.938 kB / 1.078 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.424, allocations: 0 / 1.078 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.424, allocations: 4 kB / 1.078 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.424, allocations: 0 / 1.078 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.424, allocations: 3.984 kB / 1.078 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.4242, allocations: 88.95 kB / 1.078 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.4243, allocations: 81.11 kB / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.4243, allocations: 288 / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.4243, allocations: 0 / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.4244, allocations: 320 / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.4244, allocations: 11.98 kB / 1.079 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.375e-05/0.4244, allocations: 83.28 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4245, allocations: 0 / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002312/0.4247, allocations: 20 kB / 1.079 GB, free: 2.52 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.0002757/0.425, allocations: 115.2 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.4252, allocations: 123.2 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4253, allocations: 0 / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.4253, allocations: 11.94 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.4255, allocations: 11.98 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.4259, allocations: 138.8 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.4264, allocations: 0.6848 MB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.4264, allocations: 0 / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.4265, allocations: 11.44 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4265, allocations: 0 / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of Templates: time 0.004739/0.4312, allocations: 0.997 MB / 1.081 GB, free: 376 kB / 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)