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.001055/0.001059, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 196.8 kB / 16.64 MB, free: 6.449 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.26/1.26, allocations: 205.1 MB / 222.5 MB, free: 4.578 MB / 174.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.662/1.662, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001399/0.001399, allocations: 72.62 kB / 0.6723 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2066, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003/0.2096, allocations: 1.778 MB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.211, allocations: 0.946 MB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.905e-05/0.2111, allocations: 7.938 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006092/0.2118, allocations: 159.6 kB / 0.7869 GB, free: 9.855 MB / 0.6075 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.0002822/0.2121, allocations: 118.3 kB / 0.7871 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.2124, allocations: 143.1 kB / 0.7872 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.2127, allocations: 163.6 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2128, allocations: 25.11 kB / 0.7874 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.2129, allocations: 71.75 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.213, allocations: 67.69 kB / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.2131, allocations: 11.94 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.2132, allocations: 63.97 kB / 0.7876 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.2133, allocations: 43.89 kB / 0.7876 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.2134, allocations: 63.55 kB / 0.7877 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.2137, allocations: 195.4 kB / 0.7879 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2137, allocations: 0 / 0.7879 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2137, allocations: 0 / 0.7879 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.2137, allocations: 0 / 0.7879 GB, free: 8.914 MB / 0.6075 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.0007165/0.2144, allocations: 0.4953 MB / 0.7883 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2145, allocations: 8.031 kB / 0.7884 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.768e-05/0.2146, allocations: 20.75 kB / 0.7884 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.2149, allocations: 244.8 kB / 0.7886 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.2149, allocations: 4.375 kB / 0.7886 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.2149, allocations: 8.109 kB / 0.7886 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.2151, allocations: 95.36 kB / 0.7887 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2151, allocations: 0 / 0.7887 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2151, allocations: 0 / 0.7887 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.2151, allocations: 7.984 kB / 0.7887 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.04e-05/0.2152, allocations: 43.86 kB / 0.7888 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.2157, allocations: 344.7 kB / 0.7891 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.2159, allocations: 78.61 kB / 0.7892 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.216, allocations: 32.84 kB / 0.7892 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.216, allocations: 4 kB / 0.7892 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.2162, allocations: 83.38 kB / 0.7893 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.2162, allocations: 0 / 0.7893 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003205/0.2165, allocations: 141.4 kB / 0.7894 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.2165, allocations: 77.11 kB / 0.7895 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.2168, allocations: 267.4 kB / 0.7897 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.2168, allocations: 37.67 kB / 0.7898 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.2169, allocations: 120.2 kB / 0.7899 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.217, allocations: 27.59 kB / 0.7899 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.217, allocations: 25.7 kB / 0.7899 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2171, allocations: 330.8 kB / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/0.2172, allocations: 27.98 kB / 0.7903 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.371e-05/0.2173, allocations: 59.36 kB / 0.7903 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.2174, allocations: 78.09 kB / 0.7904 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2174, allocations: 0 / 0.7904 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002001/0.2176, allocations: 121.4 kB / 0.7905 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2177, allocations: 4 kB / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2177, allocations: 0 / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2177, allocations: 0 / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.2178, allocations: 15.94 kB / 0.7905 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2178, allocations: 0 / 0.7905 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.2178, allocations: 15.95 kB / 0.7906 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2179, allocations: 0 / 0.7906 GB, free: 5.879 MB / 0.6075 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 0.0001265/0.218, allocations: 149.8 kB / 0.7907 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.218, allocations: 15.81 kB / 0.7907 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.2181, allocations: 13.41 kB / 0.7907 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.2181, allocations: 11.98 kB / 0.7907 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2181, allocations: 0 / 0.7907 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2181, allocations: 3.938 kB / 0.7908 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.2183, allocations: 225.5 kB / 0.791 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2183, allocations: 8 kB / 0.791 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.2184, allocations: 0 / 0.791 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2184, allocations: 4 kB / 0.791 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.2184, allocations: 0 / 0.791 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2184, allocations: 3.938 kB / 0.791 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2184, allocations: 0 / 0.791 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.2186, allocations: 148.8 kB / 0.7911 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.2187, allocations: 92.86 kB / 0.7912 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.2187, allocations: 4 kB / 0.7912 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.798e-05/0.2188, allocations: 7.984 kB / 0.7912 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.2188, allocations: 4 kB / 0.7912 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2188, allocations: 11.92 kB / 0.7912 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001749/0.219, allocations: 192.5 kB / 0.7914 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.219, allocations: 0 / 0.7914 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000236/0.2193, allocations: 28 kB / 0.7914 GB, free: 4.875 MB / 0.6075 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 (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.0009464/0.2202, allocations: 433.3 kB / 0.7919 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.2204, allocations: 71.91 kB / 0.7919 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2205, allocations: 0 / 0.7919 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/0.2205, allocations: 39.98 kB / 0.792 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.2208, allocations: 42.83 kB / 0.792 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.2213, allocations: 299 kB / 0.7923 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.2216, allocations: 0.7318 MB / 0.793 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.577e-05/0.2217, allocations: 21.72 kB / 0.793 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.2217, allocations: 19.38 kB / 0.793 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2217, allocations: 0 / 0.793 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of Templates: time 0.005239/0.227, allocations: 2.274 MB / 0.7953 GB, free: 1.094 MB / 0.6075 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)