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.46/0.4629, allocations: 80.81 MB / 0.5904 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003165/0.4661, allocations: 1.762 MB / 0.5921 GB, free: 21.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.4674, allocations: 0.9334 MB / 0.593 GB, free: 20.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.4675, allocations: 0 / 0.593 GB, free: 20.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005724/0.4681, allocations: 169.3 kB / 0.5932 GB, free: 20.02 MB / 446.1 MB [/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.0002467/0.4684, allocations: 105 kB / 0.5933 GB, free: 19.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.4687, allocations: 153.1 kB / 0.5934 GB, free: 19.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.4689, allocations: 167.5 kB / 0.5936 GB, free: 19.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.469, allocations: 22.77 kB / 0.5936 GB, free: 19.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.902e-05/0.4691, allocations: 59.78 kB / 0.5937 GB, free: 19.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.604e-05/0.4692, allocations: 72.78 kB / 0.5938 GB, free: 19.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.4692, allocations: 8 kB / 0.5938 GB, free: 19.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.4693, allocations: 63.89 kB / 0.5938 GB, free: 19.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.4694, allocations: 48.47 kB / 0.5939 GB, free: 19.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.342e-05/0.4695, allocations: 64.86 kB / 0.5939 GB, free: 19.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.4697, allocations: 193.9 kB / 0.5941 GB, free: 19.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4697, allocations: 0 / 0.5941 GB, free: 19.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4697, allocations: 0 / 0.5941 GB, free: 19.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.4697, allocations: 2.031 kB / 0.5941 GB, free: 19.09 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.0005438/0.4703, allocations: 496.2 kB / 0.5946 GB, free: 18.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.4703, allocations: 8.031 kB / 0.5946 GB, free: 18.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.4704, allocations: 22.03 kB / 0.5946 GB, free: 18.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.4706, allocations: 240.9 kB / 0.5948 GB, free: 18.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.4706, allocations: 15.88 kB / 0.5949 GB, free: 18.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.4706, allocations: 2.812 kB / 0.5949 GB, free: 18.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.4708, allocations: 97.33 kB / 0.595 GB, free: 18.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4708, allocations: 0 / 0.595 GB, free: 18.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4709, allocations: 4 kB / 0.595 GB, free: 18.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.4709, allocations: 4 kB / 0.595 GB, free: 18.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.075e-05/0.471, allocations: 27.98 kB / 0.595 GB, free: 18.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.4714, allocations: 368.6 kB / 0.5953 GB, free: 17.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.4716, allocations: 70.67 kB / 0.5954 GB, free: 17.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.4716, allocations: 36.84 kB / 0.5954 GB, free: 17.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.4716, allocations: 3.531 kB / 0.5955 GB, free: 17.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.4718, allocations: 87.31 kB / 0.5955 GB, free: 17.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.4718, allocations: 0 / 0.5955 GB, free: 17.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002952/0.4721, allocations: 137.5 kB / 0.5957 GB, free: 17.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.4722, allocations: 84.98 kB / 0.5957 GB, free: 17.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.4724, allocations: 269.7 kB / 0.596 GB, free: 16.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.4724, allocations: 29.7 kB / 0.596 GB, free: 16.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.4724, allocations: 116.1 kB / 0.5961 GB, free: 16.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.4725, allocations: 27.64 kB / 0.5962 GB, free: 16.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.4725, allocations: 25.7 kB / 0.5962 GB, free: 16.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.861e-05/0.4726, allocations: 330.8 kB / 0.5965 GB, free: 16.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.809e-05/0.4726, allocations: 31.98 kB / 0.5965 GB, free: 16.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.4727, allocations: 63.42 kB / 0.5966 GB, free: 16.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.96e-05/0.4728, allocations: 73.95 kB / 0.5967 GB, free: 16.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4728, allocations: 0 / 0.5967 GB, free: 16.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001588/0.473, allocations: 113.4 kB / 0.5968 GB, free: 16.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.473, allocations: 4 kB / 0.5968 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.473, allocations: 4.172 kB / 0.5968 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.473, allocations: 3.938 kB / 0.5968 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.4731, allocations: 19.98 kB / 0.5968 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4731, allocations: 4.094 kB / 0.5968 GB, free: 16.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.4732, allocations: 4 kB / 0.5968 GB, free: 16.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.4732, allocations: 4 kB / 0.5968 GB, free: 16.07 MB / 446.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 9.775e-05/0.4733, allocations: 141.8 kB / 0.597 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.4733, allocations: 23.7 kB / 0.597 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.4734, allocations: 21.39 kB / 0.597 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.4734, allocations: 7.938 kB / 0.597 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4734, allocations: 3.938 kB / 0.597 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4734, allocations: 3.984 kB / 0.597 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.4735, allocations: 221.6 kB / 0.5972 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4736, allocations: 0 / 0.5972 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.4736, allocations: 4 kB / 0.5972 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.4736, allocations: 0 / 0.5972 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.4736, allocations: 0 / 0.5972 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4736, allocations: 0 / 0.5972 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4736, allocations: 3.938 kB / 0.5972 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.4738, allocations: 152.8 kB / 0.5974 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.4738, allocations: 96.86 kB / 0.5975 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.4739, allocations: 0 / 0.5975 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.581e-05/0.4739, allocations: 11.92 kB / 0.5975 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.474, allocations: 7.938 kB / 0.5975 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.474, allocations: 0 / 0.5975 GB, free: 15.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.4741, allocations: 204.4 kB / 0.5977 GB, free: 15.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4741, allocations: 4 kB / 0.5977 GB, free: 15.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.4744, allocations: 28 kB / 0.5977 GB, free: 15.07 MB / 446.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.0009471/0.4753, allocations: 415.6 kB / 0.5981 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.4756, allocations: 75.91 kB / 0.5982 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4756, allocations: 0 / 0.5982 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.4757, allocations: 43.92 kB / 0.5982 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.476, allocations: 40.53 kB / 0.5983 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.4765, allocations: 303 kB / 0.5986 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.4767, allocations: 0.7201 MB / 0.5993 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.4768, allocations: 25.72 kB / 0.5993 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.4769, allocations: 23.42 kB / 0.5993 GB, free: 13.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.8e-07/0.4769, allocations: 0 / 0.5993 GB, free: 13.57 MB / 446.1 MB Notification: Performance of Templates: time 0.005302/0.4822, allocations: 2.282 MB / 0.6015 GB, free: 11.31 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (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)