Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00111/0.00111, allocations: 108.8 kB / 16.38 MB, free: 6.473 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.001048/0.001049, allocations: 184 kB / 17.31 MB, free: 5.824 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.323/1.323, allocations: 205.1 MB / 223.2 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.39 MB / 462.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.001405/0.001405, allocations: 66.25 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2306, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003121/0.2337, allocations: 1.788 MB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2352, allocations: 0.9488 MB / 0.7875 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.2353, allocations: 0 / 0.7875 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.2358, allocations: 171.5 kB / 0.7876 GB, free: 260 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.2361, allocations: 107.6 kB / 0.7877 GB, free: 152 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.2365, allocations: 143.1 kB / 0.7879 GB, free: 12 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.382/0.6184, allocations: 163.6 kB / 0.788 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.6186, allocations: 22.98 kB / 0.788 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.6188, allocations: 74.14 kB / 0.7881 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.6189, allocations: 68.97 kB / 0.7882 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.619, allocations: 10.69 kB / 0.7882 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.6192, allocations: 55.28 kB / 0.7882 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.6192, allocations: 42.97 kB / 0.7883 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.6193, allocations: 66.98 kB / 0.7883 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.6196, allocations: 198.4 kB / 0.7885 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6196, allocations: 0 / 0.7885 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6196, allocations: 0 / 0.7885 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.6197, allocations: 4.406 kB / 0.7885 GB, free: 46.5 MB / 0.6544 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.0006618/0.6203, allocations: 495.8 kB / 0.789 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.6204, allocations: 7.875 kB / 0.789 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.6204, allocations: 17.62 kB / 0.789 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.6207, allocations: 244.6 kB / 0.7893 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.6207, allocations: 8.562 kB / 0.7893 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.6207, allocations: 6.422 kB / 0.7893 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.6209, allocations: 90.12 kB / 0.7894 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.6209, allocations: 0.5938 kB / 0.7894 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.621, allocations: 2.625 kB / 0.7894 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.621, allocations: 3.281 kB / 0.7894 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.171e-05/0.6211, allocations: 41.62 kB / 0.7894 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.6216, allocations: 354.5 kB / 0.7898 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.6217, allocations: 76.22 kB / 0.7898 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.6218, allocations: 31.44 kB / 0.7899 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.6218, allocations: 6 kB / 0.7899 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.622, allocations: 82.17 kB / 0.7899 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.622, allocations: 0.5312 kB / 0.7899 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003013/0.6223, allocations: 148.1 kB / 0.7901 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.6223, allocations: 77.11 kB / 0.7902 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.6225, allocations: 266.2 kB / 0.7904 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.6226, allocations: 25.7 kB / 0.7904 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.6226, allocations: 118.8 kB / 0.7906 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.6227, allocations: 27.53 kB / 0.7906 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.6227, allocations: 27.7 kB / 0.7906 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.6228, allocations: 335 kB / 0.7909 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.6228, allocations: 26.64 kB / 0.7909 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.6229, allocations: 62.88 kB / 0.791 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.623, allocations: 68.95 kB / 0.7911 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.623, allocations: 0 / 0.7911 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001692/0.6232, allocations: 116.1 kB / 0.7912 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6232, allocations: 5.594 kB / 0.7912 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.6232, allocations: 4.188 kB / 0.7912 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.6233, allocations: 0 / 0.7912 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.6233, allocations: 13.95 kB / 0.7912 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.6233, allocations: 2.625 kB / 0.7912 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.6234, allocations: 7.219 kB / 0.7912 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.6234, allocations: 3.906 kB / 0.7912 GB, free: 44.65 MB / 0.6544 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 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.634e-05/0.6235, allocations: 147.6 kB / 0.7914 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.6235, allocations: 28.66 kB / 0.7914 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.6236, allocations: 15.12 kB / 0.7914 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6236, allocations: 2.406 kB / 0.7914 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6236, allocations: 3.375 kB / 0.7914 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.6236, allocations: 91.2 kB / 0.7915 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.6237, allocations: 6.562 kB / 0.7915 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.631e-05/0.6237, allocations: 7.031 kB / 0.7915 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.6238, allocations: 4.688 kB / 0.7915 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001805/0.624, allocations: 186.4 kB / 0.7917 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001916/0.6242, allocations: 294.5 kB / 0.792 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.51e-05/0.6242, allocations: 36.73 kB / 0.792 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001306/0.6244, allocations: 199.3 kB / 0.7922 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of Backend: time 2.9e-07/0.6244, allocations: 0 / 0.7922 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.6257, allocations: 469.1 kB / 0.7926 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005827/0.6263, allocations: 0.73 MB / 0.7934 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.005043/0.6313, allocations: 2.361 MB / 0.7957 GB, free: 43.21 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)