Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001135/0.001135, allocations: 179.8 kB / 371.6 MB, free: 3.406 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.949/1.949, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001235, allocations: 88.3 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.574e-05/4.578e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3301, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.335, allocations: 141.4 MB / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/1.335, allocations: 84.92 kB / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02459/1.36, allocations: 10.27 MB / 1.128 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.276e-06/1.36, allocations: 0 / 1.128 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.164e-05/1.36, allocations: 0 / 1.128 GB, free: 37.32 MB / 0.7448 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.0006149/1.361, allocations: 432.2 kB / 1.128 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.353e-05/1.361, allocations: 12.03 kB / 1.128 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/1.361, allocations: 8.062 kB / 1.128 GB, free: 36.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/1.361, allocations: 177.2 kB / 1.129 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/1.361, allocations: 4 kB / 1.129 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/1.361, allocations: 4 kB / 1.129 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/1.361, allocations: 122.1 kB / 1.129 GB, free: 36.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.361, allocations: 0 / 1.129 GB, free: 36.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-05/1.361, allocations: 12.81 kB / 1.129 GB, free: 36.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/1.361, allocations: 3.938 kB / 1.129 GB, free: 36.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/1.361, allocations: 56.56 kB / 1.129 GB, free: 36.51 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/1.362, allocations: 168 kB / 1.129 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/1.362, allocations: 115.9 kB / 1.129 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/1.362, allocations: 96.02 kB / 1.129 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/1.362, allocations: 0.6562 kB / 1.129 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/1.362, allocations: 38.56 kB / 1.129 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/1.362, allocations: 0 / 1.129 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0003692/1.362, allocations: 214 kB / 1.129 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/1.362, allocations: 88.44 kB / 1.129 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.753e-05/1.362, allocations: 119 kB / 1.13 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/1.362, allocations: 29.7 kB / 1.13 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/1.363, allocations: 87.8 kB / 1.13 GB, free: 35.63 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/1.363, allocations: 18.67 kB / 1.13 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/1.363, allocations: 32 / 1.13 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.364e-05/1.363, allocations: 328.9 kB / 1.13 GB, free: 35.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.969e-05/1.363, allocations: 59.41 kB / 1.13 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/1.363, allocations: 56.41 kB / 1.13 GB, free: 35.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.544e-05/1.363, allocations: 89.36 kB / 1.13 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.363, allocations: 0.9375 kB / 1.13 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002605/1.363, allocations: 217.8 kB / 1.13 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/1.363, allocations: 41.12 kB / 1.13 GB, free: 34.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.363, allocations: 0 / 1.13 GB, free: 34.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.363, allocations: 0.5625 kB / 1.13 GB, free: 34.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/1.363, allocations: 8 kB / 1.13 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/1.363, allocations: 0.8594 kB / 1.13 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/1.364, allocations: 15.47 kB / 1.13 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/1.364, allocations: 20.34 kB / 1.13 GB, free: 34.89 MB / 0.7448 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 () * 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.0001168/1.364, allocations: 153.3 kB / 1.131 GB, free: 34.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/1.364, allocations: 13.03 kB / 1.131 GB, free: 34.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/1.364, allocations: 8.062 kB / 1.131 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.364, allocations: 0 / 1.131 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.364, allocations: 4 kB / 1.131 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/1.364, allocations: 0 / 1.131 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/1.364, allocations: 178.1 kB / 1.131 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.364, allocations: 0 / 1.131 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/1.364, allocations: 0 / 1.131 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/1.364, allocations: 0 / 1.131 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/1.364, allocations: 15.59 kB / 1.131 GB, free: 34.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/1.364, allocations: 0 / 1.131 GB, free: 34.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/1.364, allocations: 4 kB / 1.131 GB, free: 34.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/1.364, allocations: 272.3 kB / 1.131 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/1.364, allocations: 99.27 kB / 1.131 GB, free: 34.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/1.364, allocations: 9.328 kB / 1.131 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/1.365, allocations: 11.38 kB / 1.131 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/1.365, allocations: 8 kB / 1.131 GB, free: 34.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/1.365, allocations: 15.33 kB / 1.131 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.281e-05/1.365, allocations: 95.55 kB / 1.131 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.365, allocations: 0 / 1.131 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004217/1.365, allocations: 90.25 kB / 1.131 GB, free: 33.97 MB / 0.7448 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]) * 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.0009615/1.366, allocations: 345.3 kB / 1.132 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000377/1.367, allocations: 281.4 kB / 1.132 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.367, allocations: 4.062 kB / 1.132 GB, free: 33.53 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/1.367, allocations: 209.7 kB / 1.132 GB, free: 33.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/1.367, allocations: 4.844 kB / 1.132 GB, free: 33.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/1.368, allocations: 464.7 kB / 1.133 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/1.368, allocations: 0.6878 MB / 1.133 GB, free: 32.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.934e-05/1.368, allocations: 54.83 kB / 1.133 GB, free: 32.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/1.368, allocations: 11.44 kB / 1.133 GB, free: 32.37 MB / 0.7448 GB Notification: Performance of SimCode: time 7.62e-07/1.368, allocations: 0 / 1.133 GB, free: 32.37 MB / 0.7448 GB Notification: Performance of Templates: time 0.007767/1.376, allocations: 3.613 MB / 1.137 GB, free: 30.32 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)