Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.541/2.541, allocations: 287.5 MB / 303.2 MB, free: 8.219 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.001303/0.001303, allocations: 178.5 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0008941/0.0008941, allocations: 92.97 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.000485, allocations: 10.89 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.199, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8716/1.071, allocations: 140.8 MB / 1.117 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/1.071, allocations: 97.86 kB / 1.117 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04353/1.115, allocations: 10.95 MB / 1.128 GB, free: 31.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.913e-06/1.115, allocations: 0 / 1.128 GB, free: 31.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.646e-06/1.115, allocations: 0 / 1.128 GB, free: 31.05 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.0005612/1.115, allocations: 438 kB / 1.128 GB, free: 30.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.115, allocations: 11.75 kB / 1.128 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/1.115, allocations: 12.72 kB / 1.128 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/1.115, allocations: 172.6 kB / 1.128 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/1.115, allocations: 8.219 kB / 1.128 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/1.116, allocations: 4.188 kB / 1.128 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/1.116, allocations: 130.9 kB / 1.128 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/1.116, allocations: 192 / 1.128 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/1.116, allocations: 7.812 kB / 1.128 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.116, allocations: 0 / 1.128 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/1.116, allocations: 64.31 kB / 1.128 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/1.116, allocations: 166.6 kB / 1.129 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/1.116, allocations: 120.4 kB / 1.129 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/1.117, allocations: 100.1 kB / 1.129 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-06/1.117, allocations: 0 / 1.129 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/1.117, allocations: 40.94 kB / 1.129 GB, free: 30.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/1.117, allocations: 0 / 1.129 GB, free: 30.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0007106/1.117, allocations: 292.7 kB / 1.129 GB, free: 30.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/1.118, allocations: 84.8 kB / 1.129 GB, free: 29.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/1.118, allocations: 138.5 kB / 1.129 GB, free: 29.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/1.118, allocations: 25.7 kB / 1.129 GB, free: 29.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/1.118, allocations: 87.3 kB / 1.129 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/1.118, allocations: 11.66 kB / 1.129 GB, free: 29.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/1.118, allocations: 3.875 kB / 1.129 GB, free: 29.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.118, allocations: 317.2 kB / 1.13 GB, free: 29.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/1.118, allocations: 61.59 kB / 1.13 GB, free: 29.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/1.118, allocations: 65.48 kB / 1.13 GB, free: 29.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/1.119, allocations: 177.3 kB / 1.13 GB, free: 29.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.119, allocations: 4 kB / 1.13 GB, free: 29.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005001/1.119, allocations: 233.7 kB / 1.13 GB, free: 29.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/1.119, allocations: 42.98 kB / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.119, allocations: 3.938 kB / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.119, allocations: 0 / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/1.119, allocations: 0 / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/1.119, allocations: 0 / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/1.12, allocations: 14.2 kB / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/1.12, allocations: 20.06 kB / 1.13 GB, free: 29.21 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.0001968/1.12, allocations: 164 kB / 1.13 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/1.12, allocations: 14.3 kB / 1.131 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/1.12, allocations: 12.19 kB / 1.131 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.12, allocations: 256 / 1.131 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.12, allocations: 3.938 kB / 1.131 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.12, allocations: 4 kB / 1.131 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/1.12, allocations: 179 kB / 1.131 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.12, allocations: 0 / 1.131 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-06/1.12, allocations: 0 / 1.131 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.12, allocations: 6.109 kB / 1.131 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/1.12, allocations: 18.03 kB / 1.131 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.12, allocations: 3.984 kB / 1.131 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.12, allocations: 3.812 kB / 1.131 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/1.121, allocations: 286.1 kB / 1.131 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/1.121, allocations: 90.45 kB / 1.131 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/1.121, allocations: 11.75 kB / 1.131 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/1.121, allocations: 14.55 kB / 1.131 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/1.122, allocations: 13.78 kB / 1.131 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/1.122, allocations: 14.83 kB / 1.131 GB, free: 28.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.301e-05/1.122, allocations: 95.86 kB / 1.131 GB, free: 28.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.1e-07/1.122, allocations: 3.938 kB / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005549/1.122, allocations: 104.1 kB / 1.131 GB, free: 28.53 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.00102/1.123, allocations: 413.5 kB / 1.132 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005553/1.124, allocations: 288.7 kB / 1.132 GB, free: 28.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.124, allocations: 3.844 kB / 1.132 GB, free: 28.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/1.124, allocations: 208.9 kB / 1.132 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/1.124, allocations: 12.7 kB / 1.132 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/1.126, allocations: 0.5176 MB / 1.133 GB, free: 28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/1.126, allocations: 0.6807 MB / 1.133 GB, free: 27.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.819e-05/1.126, allocations: 57.64 kB / 1.133 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/1.126, allocations: 7.438 kB / 1.133 GB, free: 27.27 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/1.126, allocations: 0 / 1.133 GB, free: 27.27 MB / 0.698 GB Notification: Performance of Templates: time 0.009381/1.136, allocations: 3.845 MB / 1.137 GB, free: 25.32 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)