Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.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.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange") [/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.213/0.2137, allocations: 82.21 MB / 0.5934 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0007299/0.2145, allocations: 246.3 kB / 0.5936 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.2155, allocations: 415.8 kB / 0.594 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.2156, allocations: 0 / 0.594 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.539e-05/0.2156, allocations: 0 / 0.594 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.663e-06/0.2156, allocations: 4 kB / 0.594 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.2162, allocations: 175.6 kB / 0.5942 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.58e-05/0.2163, allocations: 19.97 kB / 0.5942 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/0.2163, allocations: 4 kB / 0.5942 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.33e-05/0.2164, allocations: 39.89 kB / 0.5942 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.2164, allocations: 15.98 kB / 0.5943 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.2164, allocations: 4 kB / 0.5943 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.2166, allocations: 87.84 kB / 0.5943 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.2166, allocations: 0 / 0.5943 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.2167, allocations: 29.7 kB / 0.5944 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.2169, allocations: 115.8 kB / 0.5945 GB, free: 4.891 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2169, allocations: 0 / 0.5945 GB, free: 4.891 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2169, allocations: 0 / 0.5945 GB, free: 4.891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.2169, allocations: 4 kB / 0.5945 GB, free: 4.887 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004117/0.2173, allocations: 384.4 kB / 0.5948 GB, free: 4.461 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2174, allocations: 8.031 kB / 0.5949 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.2174, allocations: 7.906 kB / 0.5949 GB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.964e-05/0.2175, allocations: 159.1 kB / 0.595 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.2175, allocations: 4 kB / 0.595 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2176, allocations: 7.984 kB / 0.595 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.2178, allocations: 109.5 kB / 0.5951 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2178, allocations: 0 / 0.5951 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.2178, allocations: 0 / 0.5951 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2178, allocations: 4 kB / 0.5951 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.2179, allocations: 39.95 kB / 0.5952 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.218, allocations: 157.7 kB / 0.5953 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.2182, allocations: 82.55 kB / 0.5954 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.2182, allocations: 4 kB / 0.5954 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.2182, allocations: 34.5 kB / 0.5954 GB, free: 3.742 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2182, allocations: 0 / 0.5954 GB, free: 3.742 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004425/0.2187, allocations: 304.4 kB / 0.5957 GB, free: 3.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.2187, allocations: 85.11 kB / 0.5958 GB, free: 3.312 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.83e-05/0.2188, allocations: 89.86 kB / 0.5959 GB, free: 3.215 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.2188, allocations: 29.7 kB / 0.5959 GB, free: 3.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.2189, allocations: 80.14 kB / 0.596 GB, free: 3.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.2189, allocations: 27.81 kB / 0.596 GB, free: 3.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/0.2189, allocations: 0 / 0.596 GB, free: 3.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2191, allocations: 314.8 kB / 0.5963 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.13e-05/0.2191, allocations: 35.97 kB / 0.5964 GB, free: 2.719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.948e-05/0.2192, allocations: 39.97 kB / 0.5964 GB, free: 2.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.92e-05/0.2193, allocations: 73.61 kB / 0.5965 GB, free: 2.602 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2193, allocations: 0 / 0.5965 GB, free: 2.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002323/0.2195, allocations: 179.2 kB / 0.5966 GB, free: 2.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.2196, allocations: 41.69 kB / 0.5967 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2196, allocations: 0 / 0.5967 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2196, allocations: 4.062 kB / 0.5967 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-06/0.2196, allocations: 7.953 kB / 0.5967 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.2196, allocations: 0 / 0.5967 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.2199, allocations: 19.86 kB / 0.5967 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.22, allocations: 11.98 kB / 0.5967 GB, free: 2.324 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001422/0.2201, allocations: 159.5 kB / 0.5969 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.2201, allocations: 8 kB / 0.5969 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/0.2201, allocations: 3.969 kB / 0.5969 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.2202, allocations: 4 kB / 0.5969 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2202, allocations: 4.203 kB / 0.5969 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2202, allocations: 3.984 kB / 0.5969 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.2203, allocations: 161.7 kB / 0.5971 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2203, allocations: 0 / 0.5971 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.2203, allocations: 0 / 0.5971 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.2203, allocations: 0 / 0.5971 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.2203, allocations: 11.98 kB / 0.5971 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2204, allocations: 0 / 0.5971 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2204, allocations: 3.938 kB / 0.5971 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.2207, allocations: 242.6 kB / 0.5973 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.2207, allocations: 81.09 kB / 0.5974 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.2208, allocations: 4 kB / 0.5974 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.2209, allocations: 15.98 kB / 0.5974 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.221, allocations: 15.92 kB / 0.5974 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.221, allocations: 8 kB / 0.5974 GB, free: 1.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.711e-05/0.2211, allocations: 75.28 kB / 0.5975 GB, free: 1.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2211, allocations: 4.031 kB / 0.5975 GB, free: 1.422 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.2214, allocations: 59.94 kB / 0.5976 GB, free: 1.363 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: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.00162/0.223, allocations: 289.2 kB / 0.5978 GB, free: 1.152 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.2233, allocations: 235.2 kB / 0.5981 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2233, allocations: 4.062 kB / 0.5981 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.2235, allocations: 179.3 kB / 0.5982 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.2236, allocations: 7.938 kB / 0.5982 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.224, allocations: 162.7 kB / 0.5984 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.2244, allocations: 0.6809 MB / 0.5991 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.05e-05/0.2244, allocations: 0 / 0.5991 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.056e-05/0.2245, allocations: 11.38 kB / 0.5991 GB, free: 15.81 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2245, allocations: 0 / 0.5991 GB, free: 15.81 MB / 462.1 MB Notification: Performance of Templates: time 0.005972/0.2304, allocations: 2.627 MB / 0.6016 GB, free: 13.22 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1) Environment - environmentSimulation: