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.1927/0.1934, allocations: 82.21 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002829/0.1963, allocations: 1.44 MB / 0.5948 GB, free: 4.535 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1978, allocations: 0.8512 MB / 0.5956 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.294e-05/0.1979, allocations: 0 / 0.5956 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.1986, allocations: 142.7 kB / 0.5957 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.1988, allocations: 91.8 kB / 0.5958 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.1992, allocations: 126.6 kB / 0.5959 GB, free: 3.336 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1994, allocations: 103.8 kB / 0.596 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1995, allocations: 17.11 kB / 0.5961 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1996, allocations: 55.77 kB / 0.5961 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.584e-05/0.1997, allocations: 63.75 kB / 0.5962 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1998, allocations: 4 kB / 0.5962 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1999, allocations: 39.91 kB / 0.5962 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.2, allocations: 43.83 kB / 0.5963 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.2001, allocations: 49.58 kB / 0.5963 GB, free: 2.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.2003, allocations: 152 kB / 0.5964 GB, free: 2.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.2003, allocations: 0 / 0.5964 GB, free: 2.809 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2003, allocations: 0 / 0.5964 GB, free: 2.809 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2003, allocations: 0 / 0.5964 GB, free: 2.809 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.000759/0.2011, allocations: 479.3 kB / 0.5969 GB, free: 2.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2011, allocations: 8.031 kB / 0.5969 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.2012, allocations: 15.81 kB / 0.5969 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.2016, allocations: 248.5 kB / 0.5972 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2016, allocations: 8 kB / 0.5972 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.2016, allocations: 0 / 0.5972 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.2018, allocations: 87.38 kB / 0.5973 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2018, allocations: 3.938 kB / 0.5973 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2018, allocations: 4 kB / 0.5973 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.2019, allocations: 3.984 kB / 0.5973 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.016e-05/0.202, allocations: 35.92 kB / 0.5973 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.2025, allocations: 348.8 kB / 0.5976 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.2027, allocations: 78.59 kB / 0.5977 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.2028, allocations: 64 / 0.5977 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.2029, allocations: 95.36 kB / 0.5978 GB, free: 1.246 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.203, allocations: 0 / 0.5978 GB, free: 1.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003711/0.2033, allocations: 222.6 kB / 0.598 GB, free: 1.004 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.2034, allocations: 81.11 kB / 0.5981 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.2037, allocations: 267.4 kB / 0.5983 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.2037, allocations: 25.7 kB / 0.5984 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.2038, allocations: 116.1 kB / 0.5985 GB, free: 496 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.2038, allocations: 27.64 kB / 0.5985 GB, free: 468 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.2039, allocations: 4.281 kB / 0.5985 GB, free: 464 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.204, allocations: 334.8 kB / 0.5988 GB, free: 120 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.2041, allocations: 23.98 kB / 0.5988 GB, free: 96 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-05/0.2042, allocations: 63.3 kB / 0.5989 GB, free: 20 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.695e-05/0.2043, allocations: 32.03 kB / 0.5989 GB, free: 15.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2043, allocations: 0 / 0.5989 GB, free: 15.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001901/0.2045, allocations: 121.4 kB / 0.5991 GB, free: 15.86 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2045, allocations: 8 kB / 0.5991 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2045, allocations: 0 / 0.5991 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2045, allocations: 0 / 0.5991 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.527e-05/0.2046, allocations: 11.98 kB / 0.5991 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.2046, allocations: 4 kB / 0.5991 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.2047, allocations: 7.938 kB / 0.5991 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.2047, allocations: 0 / 0.5991 GB, free: 15.83 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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.0001535/0.2049, allocations: 157.7 kB / 0.5992 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.2049, allocations: 19.72 kB / 0.5993 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.172e-05/0.205, allocations: 17.5 kB / 0.5993 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.205, allocations: 7.938 kB / 0.5993 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.205, allocations: 0 / 0.5993 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.205, allocations: 0 / 0.5993 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.2052, allocations: 221.5 kB / 0.5995 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2052, allocations: 4 kB / 0.5995 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.2053, allocations: 0 / 0.5995 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2053, allocations: 7.984 kB / 0.5995 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2053, allocations: 4 kB / 0.5995 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2053, allocations: 0 / 0.5995 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2053, allocations: 0 / 0.5995 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.2055, allocations: 148.8 kB / 0.5996 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.2056, allocations: 96.91 kB / 0.5997 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.2056, allocations: 4 kB / 0.5997 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.095e-05/0.2057, allocations: 7.984 kB / 0.5997 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.2058, allocations: 11.98 kB / 0.5998 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2058, allocations: 0 / 0.5998 GB, free: 15.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.206, allocations: 192.6 kB / 0.5999 GB, free: 14.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.206, allocations: 0 / 0.5999 GB, free: 14.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.2062, allocations: 28 kB / 0.6 GB, free: 14.83 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 (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.001023/0.2073, allocations: 433.4 kB / 0.6004 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.2075, allocations: 71.91 kB / 0.6005 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2075, allocations: 0 / 0.6005 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.2076, allocations: 47.91 kB / 0.6005 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.2078, allocations: 33.42 kB / 0.6005 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.2084, allocations: 306.6 kB / 0.6008 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.2088, allocations: 0.736 MB / 0.6015 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.664e-05/0.2089, allocations: 29.39 kB / 0.6016 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.2089, allocations: 19.42 kB / 0.6016 GB, free: 13.3 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2089, allocations: 0 / 0.6016 GB, free: 13.3 MB / 462.1 MB Notification: Performance of Templates: time 0.005072/0.214, allocations: 2.113 MB / 0.6037 GB, free: 11.22 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: