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.001151/0.001151, allocations: 104.5 kB / 16.29 MB, free: 6.43 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.001161/0.001161, allocations: 185 kB / 17.22 MB, free: 5.934 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.253/1.253, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.62/1.62, allocations: 292.3 MB / 0.5495 GB, free: 17.4 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.001401/0.001401, allocations: 67.91 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1972, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003209/0.2004, allocations: 1.771 MB / 0.7858 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.2019, allocations: 0.9489 MB / 0.7867 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.2021, allocations: 3.938 kB / 0.7867 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.2027, allocations: 163.5 kB / 0.7869 GB, free: 0.9023 MB / 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.0003184/0.203, allocations: 115.6 kB / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.2034, allocations: 137.9 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.2037, allocations: 175.6 kB / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2038, allocations: 17.12 kB / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.2039, allocations: 71.69 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.204, allocations: 79.73 kB / 0.7875 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.2041, allocations: 11.94 kB / 0.7875 GB, free: 316 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.2042, allocations: 55.97 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.995e-05/0.2043, allocations: 43.83 kB / 0.7876 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.775e-05/0.2044, allocations: 63.61 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3179/0.5223, allocations: 194.8 kB / 0.7878 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5223, allocations: 0 / 0.7878 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5223, allocations: 0 / 0.7878 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.5223, allocations: 0 / 0.7878 GB, free: 46.23 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.0006176/0.523, allocations: 498.4 kB / 0.7883 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.523, allocations: 11.19 kB / 0.7883 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.5231, allocations: 15.28 kB / 0.7883 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.5233, allocations: 245.7 kB / 0.7885 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.5233, allocations: 7.938 kB / 0.7886 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.5233, allocations: 6.625 kB / 0.7886 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.5234, allocations: 90.25 kB / 0.7886 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5235, allocations: 0 / 0.7886 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5235, allocations: 6.359 kB / 0.7887 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.5235, allocations: 2.75 kB / 0.7887 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.845e-05/0.5236, allocations: 34.42 kB / 0.7887 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.5239, allocations: 353.5 kB / 0.789 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.5241, allocations: 81.5 kB / 0.7891 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.5242, allocations: 33.05 kB / 0.7891 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.5242, allocations: 1.172 kB / 0.7891 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.5243, allocations: 82.89 kB / 0.7892 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.5243, allocations: 0 / 0.7892 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002699/0.5246, allocations: 144.7 kB / 0.7894 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.5246, allocations: 77.11 kB / 0.7894 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.5248, allocations: 276.1 kB / 0.7897 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.5249, allocations: 28.33 kB / 0.7897 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.5249, allocations: 112 kB / 0.7898 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.5249, allocations: 27.66 kB / 0.7898 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.525, allocations: 26.81 kB / 0.7899 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.298e-05/0.525, allocations: 338 kB / 0.7902 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.227e-05/0.5251, allocations: 23.08 kB / 0.7902 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.5251, allocations: 62.34 kB / 0.7903 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.347e-05/0.5252, allocations: 71.98 kB / 0.7903 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5252, allocations: 1.094 kB / 0.7903 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001498/0.5254, allocations: 122.2 kB / 0.7905 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.5254, allocations: 6.625 kB / 0.7905 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5254, allocations: 1.719 kB / 0.7905 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5254, allocations: 2.625 kB / 0.7905 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.454e-05/0.5255, allocations: 8.719 kB / 0.7905 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.5255, allocations: 0 / 0.7905 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/0.5256, allocations: 13.48 kB / 0.7905 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.5256, allocations: 2.625 kB / 0.7905 GB, free: 44.41 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 7.931e-05/0.5257, allocations: 147.2 kB / 0.7906 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.5257, allocations: 16.97 kB / 0.7907 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.5257, allocations: 24.44 kB / 0.7907 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.5258, allocations: 4.078 kB / 0.7907 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.5258, allocations: 4.844 kB / 0.7907 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5258, allocations: 4.375 kB / 0.7907 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.5259, allocations: 219.2 kB / 0.7909 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5259, allocations: 8.656 kB / 0.7909 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.5259, allocations: 2.406 kB / 0.7909 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5259, allocations: 2.594 kB / 0.7909 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.5259, allocations: 0 / 0.7909 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5259, allocations: 0 / 0.7909 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.526, allocations: 2.5 kB / 0.7909 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.5261, allocations: 147 kB / 0.7911 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.5262, allocations: 94.48 kB / 0.7911 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.5262, allocations: 1.969 kB / 0.7911 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.532e-05/0.5263, allocations: 10.81 kB / 0.7912 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.5263, allocations: 5.234 kB / 0.7912 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.5263, allocations: 4.719 kB / 0.7912 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001238/0.5264, allocations: 195.1 kB / 0.7914 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5264, allocations: 0 / 0.7914 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002157/0.5267, allocations: 39.81 kB / 0.7914 GB, free: 43.82 MB / 0.6544 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.000858/0.5275, allocations: 424.8 kB / 0.7918 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.5277, allocations: 78 kB / 0.7919 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5277, allocations: 0 / 0.7919 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.448e-05/0.5278, allocations: 36.83 kB / 0.7919 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.5281, allocations: 38.16 kB / 0.7919 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.5285, allocations: 298 kB / 0.7922 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.5286, allocations: 0.7275 MB / 0.7929 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.448e-05/0.5287, allocations: 16.48 kB / 0.793 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.5287, allocations: 20.98 kB / 0.793 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.5287, allocations: 0 / 0.793 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.004411/0.5331, allocations: 2.278 MB / 0.7952 GB, free: 42.76 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)