Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000895/0.0008952, allocations: 184.3 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 0.5785 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008781/0.000878, allocations: 84.31 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 13.81 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1787, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.3307, allocations: 134.7 MB / 1.033 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.3309, allocations: 91.94 kB / 1.033 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0275/0.3585, allocations: 10.97 MB / 1.044 GB, free: 13.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.265e-06/0.3585, allocations: 0 / 1.044 GB, free: 13.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3585, allocations: 4 kB / 1.044 GB, free: 13.72 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.0004457/0.359, allocations: 449 kB / 1.044 GB, free: 13.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.359, allocations: 8.031 kB / 1.044 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.3591, allocations: 12.84 kB / 1.044 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3592, allocations: 168.4 kB / 1.044 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3592, allocations: 8.312 kB / 1.044 GB, free: 12.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.3593, allocations: 4.375 kB / 1.044 GB, free: 12.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3595, allocations: 126.1 kB / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3595, allocations: 192 / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.3595, allocations: 7.938 kB / 1.044 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.3595, allocations: 4 kB / 1.044 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.3596, allocations: 59.95 kB / 1.044 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.3598, allocations: 157.7 kB / 1.045 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.3599, allocations: 122.5 kB / 1.045 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.3601, allocations: 100.9 kB / 1.045 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.3601, allocations: 4 kB / 1.045 GB, free: 12.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3601, allocations: 30.56 kB / 1.045 GB, free: 12.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3601, allocations: 4 kB / 1.045 GB, free: 12.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004538/0.3606, allocations: 295 kB / 1.045 GB, free: 12.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.3606, allocations: 93.09 kB / 1.045 GB, free: 11.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.3607, allocations: 121.7 kB / 1.045 GB, free: 11.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3608, allocations: 33.64 kB / 1.045 GB, free: 11.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.3608, allocations: 88.08 kB / 1.045 GB, free: 11.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.3609, allocations: 19.81 kB / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.3609, allocations: 0 / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.361, allocations: 322.9 kB / 1.046 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.915e-05/0.3611, allocations: 59.95 kB / 1.046 GB, free: 11.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.445e-05/0.3612, allocations: 63.94 kB / 1.046 GB, free: 11.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.3614, allocations: 176.4 kB / 1.046 GB, free: 10.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3614, allocations: 7.984 kB / 1.046 GB, free: 10.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003002/0.3617, allocations: 223.3 kB / 1.046 GB, free: 10.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.3617, allocations: 45.69 kB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3617, allocations: 3.938 kB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3618, allocations: 0 / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.936e-06/0.3618, allocations: 7.922 kB / 1.046 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3618, allocations: 4.062 kB / 1.046 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.362, allocations: 19.89 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.362, allocations: 15.98 kB / 1.046 GB, free: 10.65 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.0001302/0.3622, allocations: 167.5 kB / 1.046 GB, free: 10.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.3622, allocations: 11.91 kB / 1.046 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.282e-05/0.3622, allocations: 8.312 kB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3622, allocations: 0 / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3622, allocations: 4 kB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3622, allocations: 4 kB / 1.046 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.3623, allocations: 169.6 kB / 1.047 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3624, allocations: 384 / 1.047 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.3624, allocations: 3.938 kB / 1.047 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3624, allocations: 4 kB / 1.047 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.3624, allocations: 15.92 kB / 1.047 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3624, allocations: 3.938 kB / 1.047 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3624, allocations: 0 / 1.047 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.3628, allocations: 290.6 kB / 1.047 GB, free: 9.891 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.3628, allocations: 89.09 kB / 1.047 GB, free: 9.785 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.3629, allocations: 11.88 kB / 1.047 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.363, allocations: 15.98 kB / 1.047 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.3631, allocations: 7.984 kB / 1.047 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.3631, allocations: 23.98 kB / 1.047 GB, free: 9.727 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.78e-05/0.3632, allocations: 91.27 kB / 1.047 GB, free: 9.637 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3632, allocations: 0 / 1.047 GB, free: 9.637 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003676/0.3635, allocations: 103.8 kB / 1.047 GB, free: 9.535 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.0007947/0.3643, allocations: 417.2 kB / 1.048 GB, free: 9.219 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003446/0.3647, allocations: 287.2 kB / 1.048 GB, free: 8.926 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3647, allocations: 0 / 1.048 GB, free: 8.926 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.3649, allocations: 211.3 kB / 1.048 GB, free: 8.707 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.3651, allocations: 8 kB / 1.048 GB, free: 8.699 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009778/0.366, allocations: 0.5257 MB / 1.049 GB, free: 8.145 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.3663, allocations: 0.6809 MB / 1.049 GB, free: 7.438 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.888e-05/0.3664, allocations: 47.86 kB / 1.049 GB, free: 7.391 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.3664, allocations: 19.38 kB / 1.049 GB, free: 7.371 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.3664, allocations: 0 / 1.049 GB, free: 7.371 MB / 0.698 GB Notification: Performance of Templates: time 0.006557/0.373, allocations: 3.885 MB / 1.053 GB, free: 3.523 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)