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.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001422/0.001422, allocations: 190.8 kB / 16.14 MB, free: 6.652 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.358/1.358, allocations: 205.1 MB / 222 MB, free: 4.715 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.693/1.693, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001235/0.001235, allocations: 65.69 kB / 0.6708 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2141, allocations: 114.6 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003127/0.2173, allocations: 1.836 MB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.2187, allocations: 0.9335 MB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.271e-05/0.2188, allocations: 7.938 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.2193, allocations: 147.7 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.2196, allocations: 107.7 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.2199, allocations: 130.7 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.2201, allocations: 163.6 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.2202, allocations: 25.11 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.538e-05/0.2203, allocations: 55.7 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2205, allocations: 75.69 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2205, allocations: 3.938 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.2206, allocations: 55.97 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.2207, allocations: 39.83 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.2208, allocations: 59.55 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.221, allocations: 183.7 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.221, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.41e-07/0.221, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.221, allocations: 0 / 0.7864 GB, free: 10.21 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.0007141/0.2217, allocations: 0.4885 MB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2218, allocations: 12.03 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.2218, allocations: 16.75 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.2221, allocations: 244.8 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2221, allocations: 8.375 kB / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.2222, allocations: 8.109 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.2223, allocations: 87.38 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2224, allocations: 0 / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2224, allocations: 8 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.2224, allocations: 7.938 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.529e-05/0.2225, allocations: 35.91 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.223, allocations: 352.7 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.2232, allocations: 74.61 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.685e-05/0.2233, allocations: 40.84 kB / 0.7877 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2233, allocations: 4 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.2235, allocations: 71.39 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.2235, allocations: 0 / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003253/0.2238, allocations: 145.4 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.2239, allocations: 81.09 kB / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.2241, allocations: 275.6 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.2242, allocations: 29.69 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.2242, allocations: 116.1 kB / 0.7884 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.2243, allocations: 27.59 kB / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.2243, allocations: 29.7 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2244, allocations: 334.8 kB / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/0.2245, allocations: 24 kB / 0.7888 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.655e-05/0.2246, allocations: 75.28 kB / 0.7889 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.2247, allocations: 65.7 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2247, allocations: 0 / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002011/0.2249, allocations: 113.4 kB / 0.789 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.225, allocations: 4 kB / 0.789 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.225, allocations: 0 / 0.789 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.225, allocations: 8.062 kB / 0.7891 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.2251, allocations: 19.92 kB / 0.7891 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2251, allocations: 0 / 0.7891 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.2252, allocations: 8.047 kB / 0.7891 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.2252, allocations: 7.938 kB / 0.7891 GB, free: 7.176 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.0001258/0.2253, allocations: 146.4 kB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.2253, allocations: 15.81 kB / 0.7892 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.2254, allocations: 17.39 kB / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.2254, allocations: 8 kB / 0.7893 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2254, allocations: 0 / 0.7893 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2254, allocations: 3.938 kB / 0.7893 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.2256, allocations: 229.5 kB / 0.7895 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2257, allocations: 0 / 0.7895 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.2257, allocations: 7.984 kB / 0.7895 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2257, allocations: 0 / 0.7895 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2257, allocations: 96 / 0.7895 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2257, allocations: 3.938 kB / 0.7895 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2257, allocations: 0 / 0.7895 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.226, allocations: 148.8 kB / 0.7896 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.226, allocations: 96.91 kB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.226, allocations: 0 / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.967e-05/0.2261, allocations: 4 kB / 0.7897 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.2262, allocations: 7.984 kB / 0.7898 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.2262, allocations: 3.938 kB / 0.7898 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001681/0.2263, allocations: 196.6 kB / 0.7899 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2263, allocations: 0 / 0.7899 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002476/0.2266, allocations: 35.98 kB / 0.79 GB, free: 6.172 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.0009204/0.2275, allocations: 427.9 kB / 0.7904 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.2277, allocations: 75.95 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2278, allocations: 0 / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.2278, allocations: 39.92 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.2281, allocations: 32.03 kB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/0.2288, allocations: 336.8 kB / 0.7908 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.2291, allocations: 0.7204 MB / 0.7915 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.366e-05/0.2292, allocations: 21.73 kB / 0.7916 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.2293, allocations: 19.42 kB / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2293, allocations: 0 / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of Templates: time 0.005571/0.2349, allocations: 2.191 MB / 0.7937 GB, free: 2.449 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)