Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yI2.2.|yR1.1.|yI2.1.|yR2.1.|yI1.1.|yR2.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yI2.2.|yR1.1.|yI2.1.|yR2.1.|yI1.1.|yR2.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.377/1.377, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001196/0.001196, allocations: 192.8 kB / 326.5 MB, free: 2.234 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.886/1.886, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009636/0.0009635, allocations: 88.12 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003501, allocations: 9.375 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2432, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.4259, allocations: 135.1 MB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.4262, allocations: 91.92 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03101/0.4573, allocations: 11.57 MB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4573, allocations: 0 / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.4574, allocations: 0 / 1.043 GB, free: 12.96 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.000738/0.4581, allocations: 440.8 kB / 1.044 GB, free: 12.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.4582, allocations: 8.031 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/0.4583, allocations: 11.91 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.4585, allocations: 187 kB / 1.044 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.4585, allocations: 0 / 1.044 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.4585, allocations: 8 kB / 1.044 GB, free: 12.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.4588, allocations: 117.6 kB / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4588, allocations: 0 / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.4589, allocations: 4 kB / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4589, allocations: 0 / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.459, allocations: 67.88 kB / 1.044 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.4592, allocations: 161.6 kB / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.4594, allocations: 114.6 kB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.4594, allocations: 4 kB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.4595, allocations: 34.81 kB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.4595, allocations: 0 / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0006527/0.4601, allocations: 360.2 kB / 1.045 GB, free: 11.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.4602, allocations: 89.09 kB / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.4604, allocations: 116.9 kB / 1.045 GB, free: 11.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.4604, allocations: 33.69 kB / 1.045 GB, free: 11.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.4605, allocations: 88.14 kB / 1.045 GB, free: 10.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.4605, allocations: 15.75 kB / 1.045 GB, free: 10.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.4606, allocations: 4 kB / 1.045 GB, free: 10.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4607, allocations: 322.8 kB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.4608, allocations: 55.95 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/0.4609, allocations: 67.94 kB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.4611, allocations: 85.66 kB / 1.046 GB, free: 10.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4611, allocations: 4.406 kB / 1.046 GB, free: 10.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003591/0.4614, allocations: 215.2 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/0.4615, allocations: 41.69 kB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4615, allocations: 0 / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4615, allocations: 3.938 kB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.4615, allocations: 256 / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4616, allocations: 0 / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.4618, allocations: 27.89 kB / 1.046 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.4618, allocations: 15.98 kB / 1.046 GB, free: 10.04 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.0001932/0.462, allocations: 167.5 kB / 1.046 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.4621, allocations: 15.89 kB / 1.046 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.4621, allocations: 8.359 kB / 1.046 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4621, allocations: 3.938 kB / 1.046 GB, free: 9.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4621, allocations: 4 kB / 1.046 GB, free: 9.836 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4621, allocations: 0 / 1.046 GB, free: 9.836 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.4623, allocations: 173.6 kB / 1.046 GB, free: 9.617 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4623, allocations: 0 / 1.046 GB, free: 9.617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-07/0.4623, allocations: 0 / 1.046 GB, free: 9.617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4623, allocations: 4 kB / 1.046 GB, free: 9.613 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.4624, allocations: 19.98 kB / 1.046 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4624, allocations: 0 / 1.046 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4624, allocations: 0 / 1.046 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.4628, allocations: 278.5 kB / 1.047 GB, free: 9.297 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.4629, allocations: 92.95 kB / 1.047 GB, free: 9.188 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.4629, allocations: 8 kB / 1.047 GB, free: 9.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.4631, allocations: 11.98 kB / 1.047 GB, free: 9.168 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.4632, allocations: 20.02 kB / 1.047 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.4632, allocations: 8 kB / 1.047 GB, free: 9.141 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.166e-05/0.4633, allocations: 95.27 kB / 1.047 GB, free: 9.047 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4633, allocations: 0 / 1.047 GB, free: 9.047 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004936/0.4638, allocations: 107.8 kB / 1.047 GB, free: 8.941 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.001074/0.4649, allocations: 420.6 kB / 1.047 GB, free: 8.621 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.4654, allocations: 295.2 kB / 1.048 GB, free: 8.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4654, allocations: 0 / 1.048 GB, free: 8.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.4656, allocations: 211.3 kB / 1.048 GB, free: 8.102 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.4657, allocations: 4 kB / 1.048 GB, free: 8.098 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.4669, allocations: 0.5452 MB / 1.048 GB, free: 7.523 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.4672, allocations: 0.6809 MB / 1.049 GB, free: 6.816 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.627e-05/0.4673, allocations: 59.8 kB / 1.049 GB, free: 6.758 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.4673, allocations: 7.438 kB / 1.049 GB, free: 6.75 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/0.4674, allocations: 0 / 1.049 GB, free: 6.75 MB / 0.698 GB Notification: Performance of Templates: time 0.008004/0.4754, allocations: 3.885 MB / 1.053 GB, free: 2.906 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)