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.1918/0.1937, allocations: 80.83 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004101/0.1979, allocations: 1.756 MB / 0.6723 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.1998, allocations: 0.9364 MB / 0.6732 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.2, allocations: 7.938 kB / 0.6733 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007829/0.2008, allocations: 159.5 kB / 0.6734 GB, free: 15.15 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.0004243/0.2013, allocations: 119.1 kB / 0.6735 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.2018, allocations: 139.7 kB / 0.6737 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.2021, allocations: 163.6 kB / 0.6738 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.2022, allocations: 29.03 kB / 0.6738 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.2024, allocations: 71.7 kB / 0.6739 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.2025, allocations: 71.69 kB / 0.674 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.2025, allocations: 8 kB / 0.674 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.2027, allocations: 59.95 kB / 0.674 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.2028, allocations: 39.91 kB / 0.6741 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.846e-05/0.2029, allocations: 63.55 kB / 0.6741 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.2032, allocations: 203.3 kB / 0.6743 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2032, allocations: 0 / 0.6743 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2032, allocations: 0 / 0.6743 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.2033, allocations: 0 / 0.6743 GB, free: 14.2 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008473/0.2041, allocations: 496.3 kB / 0.6748 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2042, allocations: 8.031 kB / 0.6748 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.458e-05/0.2042, allocations: 16.75 kB / 0.6748 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.2046, allocations: 256.6 kB / 0.6751 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.2046, allocations: 4 kB / 0.6751 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.2046, allocations: 4 kB / 0.6751 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.2048, allocations: 87.31 kB / 0.6752 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2048, allocations: 8 kB / 0.6752 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.2049, allocations: 0 / 0.6752 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.2049, allocations: 0 / 0.6752 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.2051, allocations: 35.98 kB / 0.6752 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.2057, allocations: 356.6 kB / 0.6755 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.2059, allocations: 82.59 kB / 0.6756 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.716e-05/0.206, allocations: 32.84 kB / 0.6757 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.206, allocations: 0 / 0.6757 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.2062, allocations: 83.38 kB / 0.6757 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.2062, allocations: 0 / 0.6757 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0003396/0.2065, allocations: 141.4 kB / 0.6759 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.2066, allocations: 89.16 kB / 0.676 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.2069, allocations: 266.6 kB / 0.6762 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2069, allocations: 33.7 kB / 0.6762 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.207, allocations: 116.1 kB / 0.6764 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.207, allocations: 23.7 kB / 0.6764 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.207, allocations: 33.92 kB / 0.6764 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2072, allocations: 330.8 kB / 0.6767 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.391e-05/0.2072, allocations: 27.98 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.2073, allocations: 63.3 kB / 0.6768 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.2075, allocations: 69.7 kB / 0.6769 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2075, allocations: 3.938 kB / 0.6769 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001944/0.2077, allocations: 117.4 kB / 0.677 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2077, allocations: 4 kB / 0.677 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2077, allocations: 0 / 0.677 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2077, allocations: 4.062 kB / 0.677 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.2078, allocations: 19.92 kB / 0.677 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2078, allocations: 0 / 0.677 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/0.2079, allocations: 11.94 kB / 0.677 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.2079, allocations: 0 / 0.677 GB, free: 11.16 MB / 0.5137 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.0001303/0.208, allocations: 145.8 kB / 0.6772 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.2081, allocations: 19.81 kB / 0.6772 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.2081, allocations: 17.39 kB / 0.6772 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.2081, allocations: 11.94 kB / 0.6772 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2081, allocations: 0 / 0.6772 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2081, allocations: 0 / 0.6772 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.2083, allocations: 217.5 kB / 0.6774 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2083, allocations: 3.984 kB / 0.6774 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.2084, allocations: 7.938 kB / 0.6774 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.2084, allocations: 4 kB / 0.6774 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2084, allocations: 4 kB / 0.6774 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2084, allocations: 7.875 kB / 0.6774 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2084, allocations: 0 / 0.6774 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.2087, allocations: 148.9 kB / 0.6776 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.2087, allocations: 92.92 kB / 0.6777 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.2088, allocations: 7.938 kB / 0.6777 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.793e-05/0.2088, allocations: 7.938 kB / 0.6777 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.2089, allocations: 3.984 kB / 0.6777 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2089, allocations: 4 kB / 0.6777 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002345/0.2091, allocations: 196.4 kB / 0.6779 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2092, allocations: 4 kB / 0.6779 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002599/0.2094, allocations: 31.92 kB / 0.6779 GB, free: 10.14 MB / 0.5137 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.001041/0.2105, allocations: 420.4 kB / 0.6783 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.2107, allocations: 75.91 kB / 0.6784 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2107, allocations: 0 / 0.6784 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.2108, allocations: 28 kB / 0.6784 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.2111, allocations: 51.05 kB / 0.6785 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.2116, allocations: 302.9 kB / 0.6788 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.2119, allocations: 0.724 MB / 0.6795 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.325e-05/0.212, allocations: 29.66 kB / 0.6795 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.212, allocations: 23.42 kB / 0.6795 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.212, allocations: 0 / 0.6795 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of Templates: time 0.005163/0.2172, allocations: 2.324 MB / 0.6818 GB, free: 6.305 MB / 0.5137 GB 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)