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.1999/0.2019, allocations: 80.83 MB / 0.6706 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.00338/0.2054, allocations: 1.749 MB / 0.6723 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.2071, allocations: 1.011 MB / 0.6733 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.2073, allocations: 3.938 kB / 0.6733 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.2076, allocations: 71.66 kB / 0.6734 GB, free: 1.75 MB / 0.5137 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.000289/0.208, allocations: 75.67 kB / 0.6734 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.2086, allocations: 194 kB / 0.6736 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.2088, allocations: 151.6 kB / 0.6738 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.209, allocations: 21.06 kB / 0.6738 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.2091, allocations: 63.75 kB / 0.6739 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.2092, allocations: 63.75 kB / 0.6739 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.2093, allocations: 8 kB / 0.6739 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.2094, allocations: 71.89 kB / 0.674 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.2095, allocations: 39.84 kB / 0.674 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.434e-05/0.2096, allocations: 55.67 kB / 0.6741 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.2099, allocations: 199.4 kB / 0.6743 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.21, allocations: 4 kB / 0.6743 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.21, allocations: 0 / 0.6743 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.21, allocations: 0 / 0.6743 GB, free: 0.8203 MB / 0.5137 GB 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.000777/0.2108, allocations: 492.2 kB / 0.6748 GB, free: 292 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.2108, allocations: 12.03 kB / 0.6748 GB, free: 280 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.539e-05/0.2109, allocations: 16.75 kB / 0.6748 GB, free: 264 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.2113, allocations: 257.6 kB / 0.675 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2114, allocations: 7.938 kB / 0.675 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.2114, allocations: 4 kB / 0.675 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.2116, allocations: 96.17 kB / 0.6751 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2116, allocations: 3.984 kB / 0.6751 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.2117, allocations: 3.984 kB / 0.6751 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.2117, allocations: 4 kB / 0.6751 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.2118, allocations: 31.97 kB / 0.6752 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.2123, allocations: 356.6 kB / 0.6755 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.2126, allocations: 86.66 kB / 0.6756 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.693e-05/0.2127, allocations: 28.84 kB / 0.6756 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.2127, allocations: 4 kB / 0.6756 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.2129, allocations: 91.39 kB / 0.6757 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.2129, allocations: 0 / 0.6757 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0003654/0.2133, allocations: 141.4 kB / 0.6758 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.2134, allocations: 110.8 kB / 0.676 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.2136, allocations: 262.8 kB / 0.6762 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.2136, allocations: 25.7 kB / 0.6762 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.2138, allocations: 120 kB / 0.6763 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.2138, allocations: 23.73 kB / 0.6764 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.2139, allocations: 29.7 kB / 0.6764 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.214, allocations: 330.8 kB / 0.6767 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.214, allocations: 27.92 kB / 0.6767 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.2141, allocations: 64.28 kB / 0.6768 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.2143, allocations: 73.69 kB / 0.6769 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2143, allocations: 0 / 0.6769 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002117/0.2145, allocations: 117.4 kB / 0.677 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2145, allocations: 4 kB / 0.677 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2146, allocations: 4 kB / 0.677 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2146, allocations: 0 / 0.677 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.2147, allocations: 20.11 kB / 0.677 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2147, allocations: 4 kB / 0.677 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.2148, allocations: 15.97 kB / 0.677 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.2148, allocations: 0 / 0.677 GB, free: 13.73 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.0001489/0.215, allocations: 151.1 kB / 0.6772 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.215, allocations: 15.81 kB / 0.6772 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.133e-05/0.215, allocations: 21.39 kB / 0.6772 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.2151, allocations: 7.938 kB / 0.6772 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2151, allocations: 0 / 0.6772 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2151, allocations: 0 / 0.6772 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.2153, allocations: 221.5 kB / 0.6774 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2153, allocations: 4 kB / 0.6774 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.2153, allocations: 11.98 kB / 0.6774 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2154, allocations: 0 / 0.6774 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2154, allocations: 4 kB / 0.6774 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.2154, allocations: 3.938 kB / 0.6774 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2154, allocations: 0 / 0.6774 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.2156, allocations: 140.8 kB / 0.6776 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.2157, allocations: 96.86 kB / 0.6777 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.2158, allocations: 11.98 kB / 0.6777 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.722e-05/0.2158, allocations: 7.938 kB / 0.6777 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.2159, allocations: 3.984 kB / 0.6777 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.2159, allocations: 4 kB / 0.6777 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001733/0.2161, allocations: 196.4 kB / 0.6779 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2161, allocations: 0 / 0.6779 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000262/0.2163, allocations: 35.98 kB / 0.6779 GB, free: 12.71 MB / 0.5294 GB 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 (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.001023/0.2174, allocations: 434 kB / 0.6783 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.2176, allocations: 71.91 kB / 0.6784 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2176, allocations: 0 / 0.6784 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.396e-05/0.2177, allocations: 31.98 kB / 0.6784 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.2181, allocations: 39.98 kB / 0.6785 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/0.2187, allocations: 294.9 kB / 0.6788 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.2191, allocations: 0.728 MB / 0.6795 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.105e-05/0.2192, allocations: 21.08 kB / 0.6795 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.2192, allocations: 19.38 kB / 0.6795 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.2192, allocations: 4 kB / 0.6795 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of Templates: time 0.006759/0.226, allocations: 2.541 MB / 0.682 GB, free: 8.664 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (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)