Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001342/0.001342, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.718/1.718, allocations: 251.9 MB / 0.51 GB, free: 4.852 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.0005978/0.0005982, allocations: 15.28 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7117/0.7124, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002204/0.7146, allocations: 1.45 MB / 0.7294 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.7161, allocations: 0.8753 MB / 0.7302 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.779e-05/0.7163, allocations: 0 / 0.7302 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.7169, allocations: 139.6 kB / 0.7304 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.7171, allocations: 99.69 kB / 0.7305 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.7175, allocations: 126.7 kB / 0.7306 GB, free: 8.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.7176, allocations: 99.8 kB / 0.7307 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.7178, allocations: 25.11 kB / 0.7307 GB, free: 8.605 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.7179, allocations: 59.75 kB / 0.7308 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.624e-05/0.718, allocations: 55.81 kB / 0.7308 GB, free: 8.492 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.718, allocations: 7.938 kB / 0.7308 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.7181, allocations: 39.97 kB / 0.7309 GB, free: 8.445 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.7182, allocations: 31.91 kB / 0.7309 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.7183, allocations: 49.64 kB / 0.7309 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.7185, allocations: 153.6 kB / 0.7311 GB, free: 8.211 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.7185, allocations: 0 / 0.7311 GB, free: 8.211 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7185, allocations: 0 / 0.7311 GB, free: 8.211 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.7185, allocations: 0 / 0.7311 GB, free: 8.211 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007359/0.7193, allocations: 476.2 kB / 0.7315 GB, free: 7.691 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.7193, allocations: 8.031 kB / 0.7315 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.7194, allocations: 23.75 kB / 0.7316 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.7197, allocations: 243.7 kB / 0.7318 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.7197, allocations: 4 kB / 0.7318 GB, free: 7.375 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.7197, allocations: 4 kB / 0.7318 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.7199, allocations: 91.31 kB / 0.7319 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.72, allocations: 0 / 0.7319 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.72, allocations: 0 / 0.7319 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.72, allocations: 4 kB / 0.7319 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.942e-05/0.7201, allocations: 35.94 kB / 0.7319 GB, free: 7.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.7206, allocations: 356.7 kB / 0.7323 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.7208, allocations: 74.67 kB / 0.7323 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.7208, allocations: 0 / 0.7323 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.721, allocations: 91.47 kB / 0.7324 GB, free: 6.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.721, allocations: 0 / 0.7324 GB, free: 6.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003874/0.7214, allocations: 226.4 kB / 0.7327 GB, free: 6.402 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.7215, allocations: 77.11 kB / 0.7327 GB, free: 6.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.7218, allocations: 266.9 kB / 0.733 GB, free: 6.039 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.7218, allocations: 25.7 kB / 0.733 GB, free: 6.008 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.7219, allocations: 116.1 kB / 0.7331 GB, free: 5.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.7219, allocations: 27.64 kB / 0.7331 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.7219, allocations: 4 kB / 0.7331 GB, free: 5.859 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7221, allocations: 334.8 kB / 0.7335 GB, free: 5.523 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.7221, allocations: 23.98 kB / 0.7335 GB, free: 5.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-05/0.7222, allocations: 59.42 kB / 0.7335 GB, free: 5.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.749e-05/0.7223, allocations: 27.98 kB / 0.7336 GB, free: 5.402 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.7223, allocations: 4.031 kB / 0.7336 GB, free: 5.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001974/0.7225, allocations: 117.5 kB / 0.7337 GB, free: 5.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.7226, allocations: 8 kB / 0.7337 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.7226, allocations: 0 / 0.7337 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.7226, allocations: 7.891 kB / 0.7337 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.7227, allocations: 8 kB / 0.7337 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7227, allocations: 4 kB / 0.7337 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.7227, allocations: 7.906 kB / 0.7337 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.7228, allocations: 11.98 kB / 0.7337 GB, free: 5.23 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: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.7229, allocations: 140.6 kB / 0.7339 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.7229, allocations: 15.81 kB / 0.7339 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.723, allocations: 17.41 kB / 0.7339 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.723, allocations: 12.31 kB / 0.7339 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.723, allocations: 0 / 0.7339 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.723, allocations: 3.984 kB / 0.7339 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.7232, allocations: 221.6 kB / 0.7341 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7232, allocations: 3.938 kB / 0.7341 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.7233, allocations: 7.938 kB / 0.7341 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.7233, allocations: 4 kB / 0.7341 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.7233, allocations: 4 kB / 0.7341 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7233, allocations: 0 / 0.7341 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7233, allocations: 3.953 kB / 0.7341 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.7235, allocations: 144.9 kB / 0.7343 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.7236, allocations: 96.84 kB / 0.7344 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.7236, allocations: 4 kB / 0.7344 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.004e-05/0.7237, allocations: 8 kB / 0.7344 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.7237, allocations: 11.92 kB / 0.7344 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.7238, allocations: 7.953 kB / 0.7344 GB, free: 4.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001764/0.7239, allocations: 192.4 kB / 0.7346 GB, free: 4.254 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.6e-07/0.724, allocations: 4 kB / 0.7346 GB, free: 4.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002497/0.7242, allocations: 27.98 kB / 0.7346 GB, free: 4.223 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009524/0.7252, allocations: 420.3 kB / 0.735 GB, free: 3.961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.7254, allocations: 79.89 kB / 0.7351 GB, free: 3.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7254, allocations: 0 / 0.7351 GB, free: 3.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9e-05/0.7255, allocations: 31.98 kB / 0.7351 GB, free: 3.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.7258, allocations: 31.97 kB / 0.7352 GB, free: 3.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.7263, allocations: 318.3 kB / 0.7355 GB, free: 3.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.7266, allocations: 0.7359 MB / 0.7362 GB, free: 2.723 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.657e-05/0.7267, allocations: 17.42 kB / 0.7362 GB, free: 2.707 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.7267, allocations: 19.44 kB / 0.7362 GB, free: 2.688 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.7267, allocations: 0 / 0.7362 GB, free: 2.688 MB / 0.545 GB Notification: Performance of Templates: time 0.005197/0.7319, allocations: 2.115 MB / 0.7383 GB, free: 0.6055 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) Environment - environmentSimulation: