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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.607/1.607, allocations: 293 MB / 309 MB, free: 4.809 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.0009859/0.0009859, allocations: 172.4 kB / 378.7 MB, free: 1.043 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.393/1.393, allocations: 205.4 MB / 0.6383 GB, free: 8.254 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.0007175/0.0007175, allocations: 93.02 kB / 0.7527 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003433, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2121, allocations: 116.4 MB / 0.9904 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5719/0.7841, allocations: 141.5 MB / 1.129 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.7843, allocations: 87.08 kB / 1.129 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0253/0.8097, allocations: 10.54 MB / 1.139 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8097, allocations: 0.75 kB / 1.139 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.8097, allocations: 4 kB / 1.139 GB, free: 25.38 MB / 0.7292 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.0004667/0.8102, allocations: 434.1 kB / 1.139 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.8103, allocations: 12.03 kB / 1.139 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.8103, allocations: 8.844 kB / 1.139 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.8105, allocations: 177.6 kB / 1.14 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.8105, allocations: 0.9844 kB / 1.14 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.8105, allocations: 8.375 kB / 1.14 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.8107, allocations: 125 kB / 1.14 GB, free: 24.58 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.8108, allocations: 192 / 1.14 GB, free: 24.58 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.8108, allocations: 7.938 kB / 1.14 GB, free: 24.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.8108, allocations: 4 kB / 1.14 GB, free: 24.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.8109, allocations: 58.72 kB / 1.14 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.811, allocations: 166.1 kB / 1.14 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.8112, allocations: 113.4 kB / 1.14 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.8113, allocations: 98.78 kB / 1.14 GB, free: 24.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.8113, allocations: 3.938 kB / 1.14 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.8113, allocations: 35.27 kB / 1.14 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.8114, allocations: 4 kB / 1.14 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.000479/0.8118, allocations: 289.6 kB / 1.141 GB, free: 23.83 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.8119, allocations: 88.25 kB / 1.141 GB, free: 23.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.306e-05/0.812, allocations: 128.6 kB / 1.141 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.812, allocations: 29.7 kB / 1.141 GB, free: 23.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.812, allocations: 85.5 kB / 1.141 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.8121, allocations: 17.16 kB / 1.141 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.8121, allocations: 4 kB / 1.141 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.505e-05/0.8122, allocations: 320.8 kB / 1.141 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.8123, allocations: 66.09 kB / 1.141 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-05/0.8124, allocations: 58.77 kB / 1.141 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.8126, allocations: 179.6 kB / 1.141 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8126, allocations: 1.219 kB / 1.141 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002819/0.8129, allocations: 228.6 kB / 1.142 GB, free: 22.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.8129, allocations: 46.83 kB / 1.142 GB, free: 22.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8129, allocations: 3.938 kB / 1.142 GB, free: 22.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.8129, allocations: 0 / 1.142 GB, free: 22.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.8129, allocations: 0 / 1.142 GB, free: 22.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.813, allocations: 5.797 kB / 1.142 GB, free: 22.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.8131, allocations: 15.42 kB / 1.142 GB, free: 22.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.8132, allocations: 15.58 kB / 1.142 GB, free: 22.6 MB / 0.7292 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.0001225/0.8133, allocations: 167.2 kB / 1.142 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.8134, allocations: 11.91 kB / 1.142 GB, free: 22.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.749e-05/0.8134, allocations: 13.48 kB / 1.142 GB, free: 22.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.8134, allocations: 0 / 1.142 GB, free: 22.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8134, allocations: 5.922 kB / 1.142 GB, free: 22.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.8134, allocations: 4 kB / 1.142 GB, free: 22.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.551e-05/0.8135, allocations: 169.2 kB / 1.142 GB, free: 22.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8135, allocations: 0 / 1.142 GB, free: 22.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.8135, allocations: 0 / 1.142 GB, free: 22.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8135, allocations: 4.562 kB / 1.142 GB, free: 22.19 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.8136, allocations: 16.12 kB / 1.142 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.8136, allocations: 0 / 1.142 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8136, allocations: 3.938 kB / 1.142 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.8139, allocations: 291 kB / 1.142 GB, free: 21.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.814, allocations: 90.19 kB / 1.142 GB, free: 21.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.814, allocations: 13.3 kB / 1.142 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.8142, allocations: 11.52 kB / 1.143 GB, free: 21.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.8142, allocations: 13.72 kB / 1.143 GB, free: 21.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.8142, allocations: 19.27 kB / 1.143 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.8143, allocations: 95.45 kB / 1.143 GB, free: 21.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8143, allocations: 0 / 1.143 GB, free: 21.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003964/0.8147, allocations: 96.56 kB / 1.143 GB, free: 21.59 MB / 0.7292 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.0008086/0.8155, allocations: 348 kB / 1.143 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.8159, allocations: 283.2 kB / 1.143 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8159, allocations: 4 kB / 1.143 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.8161, allocations: 212.8 kB / 1.144 GB, free: 20.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.8163, allocations: 9.906 kB / 1.144 GB, free: 20.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.8174, allocations: 0.5231 MB / 1.144 GB, free: 20.49 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.8176, allocations: 0.6814 MB / 1.145 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.224e-05/0.8177, allocations: 49.89 kB / 1.145 GB, free: 19.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.8177, allocations: 8.141 kB / 1.145 GB, free: 19.75 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/0.8177, allocations: 0 / 1.145 GB, free: 19.75 MB / 0.7292 GB Notification: Performance of Templates: time 0.007325/0.825, allocations: 3.642 MB / 1.148 GB, free: 17.66 MB / 0.7292 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)