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.001324/0.001324, 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.00125/0.001251, allocations: 195.9 kB / 16.14 MB, free: 6.656 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.986/2.986, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 64.08 kB / 0.9114 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3751, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002171/0.3774, allocations: 0.6788 MB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.3791, allocations: 1.12 MB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.3791, allocations: 0 / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.3793, allocations: 4 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.143e-05/0.3793, allocations: 7.938 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.38, allocations: 115.1 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.3802, allocations: 83.81 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3803, allocations: 4 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.928e-05/0.3804, allocations: 27.98 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.3806, allocations: 27.89 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.3806, allocations: 4 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.3808, allocations: 27.92 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3809, allocations: 7.984 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.381, allocations: 27.86 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.3813, allocations: 91.77 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.3813, allocations: 0 / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3813, allocations: 3.938 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.3813, allocations: 0 / 1.07 GB, free: 8.68 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.0008665/0.3822, allocations: 377.4 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.986e-05/0.3823, allocations: 8.031 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.543e-05/0.3824, allocations: 12.94 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.3827, allocations: 184.3 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3827, allocations: 4.375 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.3828, allocations: 4.375 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.383, allocations: 42.25 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.383, allocations: 192 / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.383, allocations: 3.938 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.383, allocations: 4 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.775e-05/0.3831, allocations: 15.92 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.3837, allocations: 312.8 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.7e-05/0.3838, allocations: 22.58 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.3838, allocations: 20.78 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.3839, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.3842, allocations: 59.45 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3842, allocations: 4 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002552/0.3844, allocations: 57.59 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.3845, allocations: 59.34 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3847, allocations: 109.8 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.3847, allocations: 25.7 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.3848, allocations: 96.03 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.3848, allocations: 0 / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/0.3849, allocations: 33.7 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.3851, allocations: 318.8 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.971e-05/0.3852, allocations: 35.92 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.3854, allocations: 46.8 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.3855, allocations: 88.27 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3856, allocations: 0 / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003156/0.3859, allocations: 147.2 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/0.3859, allocations: 33.7 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.386, allocations: 4 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.386, allocations: 0 / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.899e-05/0.386, allocations: 3.984 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.386, allocations: 4 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.3863, allocations: 23.97 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.3863, allocations: 4 kB / 1.072 GB, free: 6.289 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.0001331/0.3865, allocations: 125.9 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.3865, allocations: 4 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.3866, allocations: 3.906 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3866, allocations: 3.938 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3866, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3866, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.3868, allocations: 169.6 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3868, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-06/0.3868, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.3868, allocations: 8 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3868, allocations: 3.938 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3868, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3868, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.387, allocations: 80.97 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.3871, allocations: 85.09 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.3871, allocations: 0 / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.51e-05/0.3871, allocations: 288 / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.3872, allocations: 4 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3872, allocations: 4 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.605e-05/0.3873, allocations: 87.27 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3873, allocations: 0 / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002451/0.3875, allocations: 20 kB / 1.072 GB, free: 5.598 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.0002494/0.3878, allocations: 103.4 kB / 1.072 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.3881, allocations: 131.2 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3881, allocations: 192 / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.3882, allocations: 15.98 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.3884, allocations: 8.562 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.389, allocations: 149.4 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.3895, allocations: 0.6809 MB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.928e-05/0.3895, allocations: 0 / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.3896, allocations: 15.44 kB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.3896, allocations: 0 / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.004892/0.3945, allocations: 1.013 MB / 1.074 GB, free: 3.43 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)