Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001737/0.001737, allocations: 191.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 251.6 MB / 0.5089 GB, free: 3.285 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.91 kB / 0.6217 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6525, allocations: 104.7 MB / 0.724 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.00268/0.6552, allocations: 1.373 MB / 0.7253 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004406/0.6557, allocations: 188.3 kB / 0.7255 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.6557, allocations: 3.938 kB / 0.7255 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.6559, allocations: 7.984 kB / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.257e-05/0.6559, allocations: 3.938 kB / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.6561, allocations: 12 kB / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.324e-05/0.6562, allocations: 31.91 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.6563, allocations: 8 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.54e-05/0.6563, allocations: 15.92 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.6564, allocations: 11.92 kB / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.6564, allocations: 0 / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.6564, allocations: 4 kB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.6565, allocations: 8 kB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.6566, allocations: 15.92 kB / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.871e-05/0.6567, allocations: 43.88 kB / 0.7257 GB, free: 11.33 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.6567, allocations: 3.938 kB / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.086e-06/0.6567, allocations: 0 / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.6567, allocations: 0 / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005318/0.6572, allocations: 349.3 kB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.6573, allocations: 12.03 kB / 0.726 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.6573, allocations: 4.938 kB / 0.726 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.6575, allocations: 172.4 kB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.6576, allocations: 8.312 kB / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.6576, allocations: 4.375 kB / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.6577, allocations: 46.25 kB / 0.7262 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.6577, allocations: 4.188 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.6577, allocations: 3.938 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6577, allocations: 0 / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.497e-05/0.6578, allocations: 19.92 kB / 0.7263 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.6582, allocations: 280.8 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.198e-05/0.6583, allocations: 26.56 kB / 0.7266 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.6583, allocations: 8.922 kB / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.6584, allocations: 0 / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.6585, allocations: 55.34 kB / 0.7266 GB, free: 10.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6585, allocations: 0 / 0.7266 GB, free: 10.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001801/0.6587, allocations: 61.69 kB / 0.7267 GB, free: 10.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.6587, allocations: 55.34 kB / 0.7267 GB, free: 10.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.711e-05/0.6589, allocations: 109.8 kB / 0.7268 GB, free: 9.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.6589, allocations: 29.7 kB / 0.7269 GB, free: 9.898 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.6589, allocations: 84.12 kB / 0.727 GB, free: 9.812 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.659, allocations: 7.906 kB / 0.727 GB, free: 9.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.659, allocations: 17.72 kB / 0.727 GB, free: 9.781 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6591, allocations: 322.7 kB / 0.7273 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.6592, allocations: 11.98 kB / 0.7273 GB, free: 9.445 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/0.6592, allocations: 25.89 kB / 0.7273 GB, free: 9.414 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.6592, allocations: 21.72 kB / 0.7273 GB, free: 9.387 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6592, allocations: 0 / 0.7273 GB, free: 9.387 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.319e-05/0.6593, allocations: 49.62 kB / 0.7274 GB, free: 9.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.6593, allocations: 8 kB / 0.7274 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.6593, allocations: 0 / 0.7274 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.6594, allocations: 4.031 kB / 0.7274 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.6594, allocations: 11.98 kB / 0.7274 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.6594, allocations: 0 / 0.7274 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.692e-05/0.6595, allocations: 4 kB / 0.7274 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.6595, allocations: 0 / 0.7274 GB, free: 9.305 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.pulseStart,$PRE.booPul.pulseStart,booRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.915e-05/0.6596, allocations: 113.8 kB / 0.7275 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.6596, allocations: 19.83 kB / 0.7275 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.6597, allocations: 3.5 kB / 0.7275 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6597, allocations: 0 / 0.7275 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6597, allocations: 8.188 kB / 0.7276 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6597, allocations: 0 / 0.7276 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.6598, allocations: 177.5 kB / 0.7277 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.6598, allocations: 0 / 0.7277 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-06/0.6599, allocations: 0 / 0.7277 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.6599, allocations: 0 / 0.7277 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.6599, allocations: 8 kB / 0.7277 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.6599, allocations: 0 / 0.7277 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6599, allocations: 0 / 0.7277 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.951e-05/0.66, allocations: 77.06 kB / 0.7278 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.66, allocations: 77.11 kB / 0.7279 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.6601, allocations: 3.984 kB / 0.7279 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.643e-05/0.6601, allocations: 8 kB / 0.7279 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.6602, allocations: 3.984 kB / 0.7279 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.6602, allocations: 4 kB / 0.7279 GB, free: 8.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.411e-05/0.6602, allocations: 87.22 kB / 0.728 GB, free: 8.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.733e-06/0.6602, allocations: 0 / 0.728 GB, free: 8.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001754/0.6604, allocations: 7.938 kB / 0.728 GB, free: 8.617 MB / 0.545 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,booRep.y[3],booPul.pulseStart) * 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.0001389/0.6606, allocations: 107.2 kB / 0.7281 GB, free: 8.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.389e-05/0.6607, allocations: 23.92 kB / 0.7281 GB, free: 8.477 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6607, allocations: 0 / 0.7281 GB, free: 8.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/0.6607, allocations: 12 kB / 0.7281 GB, free: 8.465 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.6609, allocations: 11.92 kB / 0.7281 GB, free: 8.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.6613, allocations: 137.9 kB / 0.7283 GB, free: 8.293 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.6616, allocations: 0.6849 MB / 0.7289 GB, free: 7.582 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.891e-05/0.6616, allocations: 4 kB / 0.7289 GB, free: 7.578 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.6616, allocations: 7.438 kB / 0.7289 GB, free: 7.57 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.6617, allocations: 0 / 0.7289 GB, free: 7.57 MB / 0.545 GB Notification: Performance of Templates: time 0.002412/0.6641, allocations: 497.3 kB / 0.7294 GB, free: 7.086 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)