Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") [/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.2169/0.2177, allocations: 82.22 MB / 0.5935 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002786/0.2205, allocations: 1.434 MB / 0.5949 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.2225, allocations: 0.9407 MB / 0.5958 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.2227, allocations: 0 / 0.5958 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.2231, allocations: 51.81 kB / 0.5958 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.2234, allocations: 63.73 kB / 0.5959 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007024/0.2241, allocations: 174.1 kB / 0.5961 GB, free: 3.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.2243, allocations: 123.6 kB / 0.5962 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.2245, allocations: 25.05 kB / 0.5962 GB, free: 3.148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.2246, allocations: 51.77 kB / 0.5963 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.2247, allocations: 51.75 kB / 0.5963 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.2247, allocations: 8 kB / 0.5963 GB, free: 3.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.2249, allocations: 55.91 kB / 0.5964 GB, free: 2.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.69e-05/0.225, allocations: 31.91 kB / 0.5964 GB, free: 2.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.225, allocations: 45.64 kB / 0.5964 GB, free: 2.902 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.2253, allocations: 144 kB / 0.5966 GB, free: 2.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2253, allocations: 0 / 0.5966 GB, free: 2.762 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.2253, allocations: 4 kB / 0.5966 GB, free: 2.758 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2253, allocations: 0 / 0.5966 GB, free: 2.758 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007937/0.2261, allocations: 472.1 kB / 0.597 GB, free: 2.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.2262, allocations: 16.03 kB / 0.597 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.2262, allocations: 19.8 kB / 0.5971 GB, free: 2.207 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.2266, allocations: 236.4 kB / 0.5973 GB, free: 1.934 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2266, allocations: 4 kB / 0.5973 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.2266, allocations: 4 kB / 0.5973 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.2269, allocations: 92.17 kB / 0.5974 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2269, allocations: 4 kB / 0.5974 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.2269, allocations: 7.984 kB / 0.5974 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.227, allocations: 0 / 0.5974 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.2271, allocations: 31.98 kB / 0.5974 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.2277, allocations: 364.5 kB / 0.5978 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.2279, allocations: 86.66 kB / 0.5979 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.314e-05/0.228, allocations: 40.83 kB / 0.5979 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.228, allocations: 0 / 0.5979 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.2283, allocations: 83.34 kB / 0.598 GB, free: 1.141 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.2283, allocations: 0 / 0.598 GB, free: 1.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000394/0.2287, allocations: 141.5 kB / 0.5981 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.2288, allocations: 102.8 kB / 0.5982 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.2291, allocations: 271.4 kB / 0.5985 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.2291, allocations: 25.7 kB / 0.5985 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.2292, allocations: 128 kB / 0.5986 GB, free: 444 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.2293, allocations: 15.75 kB / 0.5986 GB, free: 428 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.2293, allocations: 4 kB / 0.5986 GB, free: 424 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2295, allocations: 330.8 kB / 0.5989 GB, free: 84 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.2295, allocations: 27.92 kB / 0.599 GB, free: 56 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.2297, allocations: 72.22 kB / 0.599 GB, free: 15.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.2298, allocations: 31.98 kB / 0.5991 GB, free: 15.94 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2298, allocations: 0 / 0.5991 GB, free: 15.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002222/0.23, allocations: 117.7 kB / 0.5992 GB, free: 15.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.23, allocations: 4 kB / 0.5992 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2301, allocations: 0 / 0.5992 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2301, allocations: 4 kB / 0.5992 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.2302, allocations: 16.02 kB / 0.5992 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.2302, allocations: 4.078 kB / 0.5992 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.2303, allocations: 0 / 0.5992 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.2303, allocations: 11.94 kB / 0.5992 GB, free: 15.78 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: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.2305, allocations: 155.6 kB / 0.5994 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.2305, allocations: 15.81 kB / 0.5994 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.2306, allocations: 13.41 kB / 0.5994 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.2306, allocations: 4 kB / 0.5994 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2306, allocations: 4 kB / 0.5994 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2306, allocations: 3.984 kB / 0.5994 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.2309, allocations: 225.5 kB / 0.5996 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2309, allocations: 0 / 0.5996 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.2309, allocations: 8 kB / 0.5996 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2309, allocations: 0 / 0.5996 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.2309, allocations: 0 / 0.5996 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2309, allocations: 0 / 0.5996 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.231, allocations: 0 / 0.5996 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.2312, allocations: 152.8 kB / 0.5998 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-05/0.2313, allocations: 97.09 kB / 0.5999 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.2313, allocations: 7.938 kB / 0.5999 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.2314, allocations: 7.938 kB / 0.5999 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.2315, allocations: 7.984 kB / 0.5999 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2315, allocations: 0 / 0.5999 GB, free: 15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.2317, allocations: 196.6 kB / 0.6001 GB, free: 14.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2317, allocations: 0 / 0.6001 GB, free: 14.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.2319, allocations: 35.94 kB / 0.6001 GB, free: 14.77 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/0.233, allocations: 431.6 kB / 0.6005 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.2332, allocations: 71.89 kB / 0.6006 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2333, allocations: 0 / 0.6006 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.2334, allocations: 31.98 kB / 0.6006 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.2337, allocations: 44.08 kB / 0.6007 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000586/0.2343, allocations: 310.1 kB / 0.601 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.2346, allocations: 0.7204 MB / 0.6017 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.376e-05/0.2347, allocations: 29.36 kB / 0.6017 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.2348, allocations: 27.36 kB / 0.6017 GB, free: 13.26 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2348, allocations: 0 / 0.6017 GB, free: 13.26 MB / 462.1 MB Notification: Performance of Templates: time 0.006087/0.2409, allocations: 2.354 MB / 0.604 GB, free: 10.93 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) Environment - environmentSimulation: