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.556/1.556, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.0009939/0.0009937, allocations: 176.8 kB / 366.7 MB, free: 1.699 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.557/1.557, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008538/0.0008536, allocations: 82.59 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.158e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6468/0.6469, allocations: 116.3 MB / 0.9733 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.8331, allocations: 140.7 MB / 1.111 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.8334, allocations: 89.06 kB / 1.111 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02698/0.8604, allocations: 10.29 MB / 1.121 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8604, allocations: 0 / 1.121 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.8604, allocations: 4.875 kB / 1.121 GB, free: 15.2 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.0004529/0.8609, allocations: 425.7 kB / 1.121 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.861, allocations: 9.312 kB / 1.121 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.861, allocations: 8 kB / 1.121 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.8612, allocations: 179 kB / 1.121 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.8612, allocations: 5.375 kB / 1.121 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.8612, allocations: 4 kB / 1.121 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001257/0.8613, allocations: 51.97 kB / 1.121 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.8615, allocations: 121.6 kB / 1.122 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.8615, allocations: 3.938 kB / 1.122 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.8616, allocations: 0 / 1.122 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8616, allocations: 4 kB / 1.122 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.8617, allocations: 146.1 kB / 1.122 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.8618, allocations: 106.5 kB / 1.122 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.8619, allocations: 94.73 kB / 1.122 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.862, allocations: 0 / 1.122 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.862, allocations: 38.55 kB / 1.122 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 7.21e-07/0.862, allocations: 0 / 1.122 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0004344/0.8624, allocations: 177.6 kB / 1.122 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.8625, allocations: 89.09 kB / 1.122 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.8626, allocations: 122.2 kB / 1.122 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.8627, allocations: 33.64 kB / 1.122 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.8627, allocations: 84.14 kB / 1.122 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.8627, allocations: 19.8 kB / 1.122 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.8628, allocations: 8.031 kB / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.8629, allocations: 312 kB / 1.123 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.587e-05/0.863, allocations: 55.95 kB / 1.123 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.435e-05/0.8631, allocations: 59.95 kB / 1.123 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.8632, allocations: 59.94 kB / 1.123 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8632, allocations: 0 / 1.123 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000341/0.8636, allocations: 193.4 kB / 1.123 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.8636, allocations: 41.69 kB / 1.123 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8637, allocations: 1.328 kB / 1.123 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.8637, allocations: 4.062 kB / 1.123 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-06/0.8637, allocations: 5.812 kB / 1.123 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8637, allocations: 0 / 1.123 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.8639, allocations: 15.98 kB / 1.123 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.8639, allocations: 23.64 kB / 1.123 GB, free: 12.55 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 () * 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.0001571/0.8641, allocations: 146.7 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.8641, allocations: 15.86 kB / 1.123 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.8642, allocations: 4.625 kB / 1.123 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.8642, allocations: 4 kB / 1.123 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.8642, allocations: 7.922 kB / 1.123 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.8642, allocations: 0 / 1.123 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.8643, allocations: 158.1 kB / 1.123 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.8643, allocations: 0 / 1.123 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.8643, allocations: 0 / 1.123 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.8643, allocations: 0 / 1.123 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.8644, allocations: 15.94 kB / 1.124 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8644, allocations: 3 kB / 1.124 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8644, allocations: 0 / 1.124 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.8648, allocations: 240.9 kB / 1.124 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.8648, allocations: 89 kB / 1.124 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.8649, allocations: 8 kB / 1.124 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.8651, allocations: 15.94 kB / 1.124 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.8651, allocations: 7.984 kB / 1.124 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.8651, allocations: 16 kB / 1.124 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.8652, allocations: 91.27 kB / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8652, allocations: 0 / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003778/0.8656, allocations: 107.9 kB / 1.124 GB, free: 11.55 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]) * 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.0006529/0.8662, allocations: 336.8 kB / 1.124 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.8666, allocations: 267.3 kB / 1.125 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8666, allocations: 0 / 1.125 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.8667, allocations: 207.3 kB / 1.125 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/0.8669, allocations: 6.25 kB / 1.125 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.8678, allocations: 466 kB / 1.125 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.8681, allocations: 0.6927 MB / 1.126 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.494e-05/0.8682, allocations: 39.94 kB / 1.126 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.8682, allocations: 19.38 kB / 1.126 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.8682, allocations: 0 / 1.126 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of Templates: time 0.00581/0.874, allocations: 3.562 MB / 1.13 GB, free: 6.086 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)