Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.605/1.605, allocations: 288.4 MB / 304.3 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 174.2 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.4 MB / 0.6317 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008782/0.0008783, allocations: 95.92 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 15.2 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.213, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6924/0.9055, allocations: 141.4 MB / 1.119 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.9058, allocations: 94.19 kB / 1.119 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0257/0.9316, allocations: 11.64 MB / 1.13 GB, free: 30.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9316, allocations: 4 kB / 1.13 GB, free: 30.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.9316, allocations: 0 / 1.13 GB, free: 30.7 MB / 0.698 GB 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.0004658/0.9321, allocations: 431.2 kB / 1.131 GB, free: 30.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.9322, allocations: 11.75 kB / 1.131 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.9322, allocations: 12.64 kB / 1.131 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.9323, allocations: 175.4 kB / 1.131 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.9324, allocations: 8.188 kB / 1.131 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.9324, allocations: 4.281 kB / 1.131 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.9326, allocations: 118.4 kB / 1.131 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.9326, allocations: 4.188 kB / 1.131 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.9326, allocations: 11.78 kB / 1.131 GB, free: 29.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.9327, allocations: 3.984 kB / 1.131 GB, free: 29.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.856e-05/0.9327, allocations: 59.83 kB / 1.131 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.9329, allocations: 160.9 kB / 1.131 GB, free: 29.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.933, allocations: 120.5 kB / 1.131 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.9331, allocations: 101.9 kB / 1.131 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-06/0.9331, allocations: 4 kB / 1.131 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.9332, allocations: 34.44 kB / 1.132 GB, free: 29.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.9332, allocations: 0 / 1.132 GB, free: 29.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004127/0.9336, allocations: 294.1 kB / 1.132 GB, free: 29.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.9337, allocations: 88.62 kB / 1.132 GB, free: 29.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.9337, allocations: 121.9 kB / 1.132 GB, free: 29.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.9338, allocations: 33.36 kB / 1.132 GB, free: 29.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.9338, allocations: 90.53 kB / 1.132 GB, free: 29.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.9339, allocations: 22.72 kB / 1.132 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.9339, allocations: 3.875 kB / 1.132 GB, free: 29.19 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.934, allocations: 314.9 kB / 1.132 GB, free: 28.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.9341, allocations: 60.53 kB / 1.132 GB, free: 28.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.9342, allocations: 63.47 kB / 1.133 GB, free: 28.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.9343, allocations: 176.9 kB / 1.133 GB, free: 28.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9343, allocations: 3.938 kB / 1.133 GB, free: 28.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000246/0.9346, allocations: 232.2 kB / 1.133 GB, free: 28.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.9346, allocations: 44.62 kB / 1.133 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.9346, allocations: 11.88 kB / 1.133 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.9347, allocations: 0 / 1.133 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-06/0.9347, allocations: 7.875 kB / 1.133 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.9347, allocations: 0 / 1.133 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.9349, allocations: 15.52 kB / 1.133 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.9349, allocations: 15.52 kB / 1.133 GB, free: 28.59 MB / 0.698 GB 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.0001262/0.935, allocations: 158.4 kB / 1.133 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.9351, allocations: 15.73 kB / 1.133 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.541e-05/0.9351, allocations: 16.19 kB / 1.133 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.9351, allocations: 0 / 1.133 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.9351, allocations: 7.828 kB / 1.133 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.9351, allocations: 0 / 1.133 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.307e-05/0.9352, allocations: 164.2 kB / 1.133 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.9352, allocations: 3.844 kB / 1.133 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.9352, allocations: 0 / 1.133 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.9352, allocations: 0 / 1.133 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.9353, allocations: 17.98 kB / 1.133 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.9353, allocations: 0 / 1.133 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.9353, allocations: 0 / 1.133 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.9356, allocations: 296.2 kB / 1.134 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.9356, allocations: 88.69 kB / 1.134 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.9356, allocations: 15.75 kB / 1.134 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.9358, allocations: 11.7 kB / 1.134 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.9359, allocations: 14.98 kB / 1.134 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.9359, allocations: 15.64 kB / 1.134 GB, free: 27.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.9359, allocations: 93.98 kB / 1.134 GB, free: 27.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9359, allocations: 4.031 kB / 1.134 GB, free: 27.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003321/0.9363, allocations: 104.6 kB / 1.134 GB, free: 27.83 MB / 0.698 GB 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.0007912/0.9371, allocations: 418.3 kB / 1.134 GB, free: 27.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.9374, allocations: 285.8 kB / 1.135 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9374, allocations: 0 / 1.135 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.9376, allocations: 212.8 kB / 1.135 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.9377, allocations: 11.84 kB / 1.135 GB, free: 27.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/0.9386, allocations: 0.5348 MB / 1.135 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.9388, allocations: 0.6845 MB / 1.136 GB, free: 26.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.183e-05/0.9389, allocations: 54.42 kB / 1.136 GB, free: 26.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-06/0.9389, allocations: 11.38 kB / 1.136 GB, free: 26.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.9389, allocations: 0 / 1.136 GB, free: 26.4 MB / 0.698 GB Notification: Performance of Templates: time 0.005707/0.9446, allocations: 3.941 MB / 1.14 GB, free: 24.41 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)