Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2242/0.2251, allocations: 82.23 MB / 0.5941 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002585/0.2278, allocations: 1.467 MB / 0.5955 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.2294, allocations: 0.9053 MB / 0.5964 GB, free: 3.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.945e-05/0.2295, allocations: 11.88 kB / 0.5964 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006551/0.2302, allocations: 159.6 kB / 0.5966 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.2304, allocations: 95.75 kB / 0.5967 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.2308, allocations: 130.1 kB / 0.5968 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.2311, allocations: 175.6 kB / 0.597 GB, free: 2.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2312, allocations: 21.09 kB / 0.597 GB, free: 2.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.2313, allocations: 55.77 kB / 0.597 GB, free: 2.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.2314, allocations: 67.69 kB / 0.5971 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.2315, allocations: 4 kB / 0.5971 GB, free: 2.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.2316, allocations: 47.97 kB / 0.5972 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.2317, allocations: 43.84 kB / 0.5972 GB, free: 2.391 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.96e-05/0.2318, allocations: 81.3 kB / 0.5973 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.232, allocations: 191.6 kB / 0.5975 GB, free: 2.117 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2321, allocations: 4 kB / 0.5975 GB, free: 2.113 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2321, allocations: 0 / 0.5975 GB, free: 2.113 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2321, allocations: 4 kB / 0.5975 GB, free: 2.109 MB / 446.1 MB 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.0007923/0.2329, allocations: 468.4 kB / 0.5979 GB, free: 1.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.2329, allocations: 12.03 kB / 0.5979 GB, free: 1.586 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.233, allocations: 16.75 kB / 0.5979 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.2333, allocations: 245.8 kB / 0.5982 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.2334, allocations: 15.88 kB / 0.5982 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.2334, allocations: 4 kB / 0.5982 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.2336, allocations: 87.38 kB / 0.5983 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2336, allocations: 0 / 0.5983 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2336, allocations: 0 / 0.5983 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.2336, allocations: 7.984 kB / 0.5983 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.2338, allocations: 31.98 kB / 0.5983 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.2343, allocations: 360.6 kB / 0.5987 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.2346, allocations: 78.61 kB / 0.5987 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.2347, allocations: 32.84 kB / 0.5988 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.2347, allocations: 3.938 kB / 0.5988 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.2349, allocations: 83.38 kB / 0.5989 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.2349, allocations: 0 / 0.5989 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004033/0.2353, allocations: 141.4 kB / 0.599 GB, free: 376 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/0.2354, allocations: 85.05 kB / 0.5991 GB, free: 272 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.2358, allocations: 263.5 kB / 0.5993 GB, free: 15.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.2359, allocations: 25.7 kB / 0.5993 GB, free: 15.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.236, allocations: 124 kB / 0.5995 GB, free: 15.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.236, allocations: 27.73 kB / 0.5995 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.2361, allocations: 21.7 kB / 0.5995 GB, free: 15.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.2363, allocations: 326.8 kB / 0.5998 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.2364, allocations: 27.98 kB / 0.5998 GB, free: 15.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.547e-05/0.2365, allocations: 55.42 kB / 0.5999 GB, free: 15.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.2366, allocations: 77.67 kB / 0.6 GB, free: 15.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/0.2367, allocations: 4.094 kB / 0.6 GB, free: 15.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000198/0.2369, allocations: 121.6 kB / 0.6001 GB, free: 15.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2369, allocations: 5.875 kB / 0.6001 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.2369, allocations: 7.984 kB / 0.6001 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2369, allocations: 0 / 0.6001 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/0.237, allocations: 8 kB / 0.6001 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.2371, allocations: 3.938 kB / 0.6001 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.2371, allocations: 11.94 kB / 0.6001 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2371, allocations: 8.031 kB / 0.6001 GB, free: 15.11 MB / 462.1 MB 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.0001912/0.2373, allocations: 147.2 kB / 0.6003 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.2374, allocations: 11.81 kB / 0.6003 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.544e-05/0.2374, allocations: 21.41 kB / 0.6003 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.2374, allocations: 4 kB / 0.6003 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/0.2375, allocations: 11.92 kB / 0.6003 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.2375, allocations: 0 / 0.6003 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.2377, allocations: 221.5 kB / 0.6005 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2377, allocations: 0 / 0.6005 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.2378, allocations: 8 kB / 0.6005 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2378, allocations: 0 / 0.6005 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.2378, allocations: 8 kB / 0.6006 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2378, allocations: 0 / 0.6006 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.2378, allocations: 3.938 kB / 0.6006 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.238, allocations: 144.8 kB / 0.6007 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.2381, allocations: 96.92 kB / 0.6008 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.2382, allocations: 3.984 kB / 0.6008 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/0.2382, allocations: 8 kB / 0.6008 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.2383, allocations: 11.92 kB / 0.6008 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.2383, allocations: 0 / 0.6008 GB, free: 14.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.2385, allocations: 196.6 kB / 0.601 GB, free: 14.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2385, allocations: 0 / 0.601 GB, free: 14.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.2388, allocations: 24 kB / 0.601 GB, free: 14.12 MB / 462.1 MB 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.00108/0.2399, allocations: 431.5 kB / 0.6014 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.2401, allocations: 75.91 kB / 0.6015 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2401, allocations: 0 / 0.6015 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.2402, allocations: 35.92 kB / 0.6015 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.2405, allocations: 32.58 kB / 0.6016 GB, free: 13.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.2411, allocations: 330.3 kB / 0.6019 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.2414, allocations: 0.7282 MB / 0.6026 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.004e-05/0.2414, allocations: 25.7 kB / 0.6026 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.2415, allocations: 15.44 kB / 0.6026 GB, free: 12.59 MB / 462.1 MB Notification: Performance of SimCode: time 1.332e-06/0.2415, allocations: 0 / 0.6026 GB, free: 12.59 MB / 462.1 MB Notification: Performance of Templates: time 0.005885/0.2474, allocations: 2.175 MB / 0.6048 GB, free: 10.45 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) Environment - environmentSimulation: