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.462/1.462, allocations: 249.5 MB / 257 MB, free: 6.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009667/0.0009666, allocations: 176.8 kB / 316.3 MB, free: 3.285 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.83/1.83, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.00129/0.00129, allocations: 93.09 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.689e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2318, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7561/0.9879, allocations: 135.3 MB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.9883, allocations: 97.16 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02969/1.018, allocations: 11.4 MB / 1.029 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.133e-06/1.018, allocations: 0 / 1.029 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.018, allocations: 4 kB / 1.029 GB, free: 9.129 MB / 0.6511 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.0004757/1.018, allocations: 422 kB / 1.029 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/1.019, allocations: 8.031 kB / 1.029 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/1.019, allocations: 11.91 kB / 1.029 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/1.019, allocations: 181.4 kB / 1.029 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/1.019, allocations: 0 / 1.029 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/1.019, allocations: 8 kB / 1.029 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001034/1.019, allocations: 57.58 kB / 1.029 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/1.019, allocations: 121.7 kB / 1.029 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-06/1.019, allocations: 0 / 1.029 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/1.019, allocations: 4 kB / 1.029 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/1.019, allocations: 0 / 1.029 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/1.019, allocations: 141.3 kB / 1.029 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/1.019, allocations: 110.8 kB / 1.03 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/1.019, allocations: 104.1 kB / 1.03 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/1.019, allocations: 4 kB / 1.03 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/1.02, allocations: 30.56 kB / 1.03 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/1.02, allocations: 0 / 1.03 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0004759/1.02, allocations: 193.7 kB / 1.03 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/1.02, allocations: 85.11 kB / 1.03 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/1.02, allocations: 111.5 kB / 1.03 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/1.02, allocations: 29.7 kB / 1.03 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/1.02, allocations: 87.69 kB / 1.03 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/1.02, allocations: 23.28 kB / 1.03 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/1.02, allocations: 4 kB / 1.03 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.02, allocations: 318.8 kB / 1.031 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/1.021, allocations: 50.41 kB / 1.031 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.962e-05/1.021, allocations: 58.27 kB / 1.031 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/1.021, allocations: 74.75 kB / 1.031 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.021, allocations: 0 / 1.031 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003398/1.021, allocations: 174.3 kB / 1.031 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/1.021, allocations: 49.06 kB / 1.031 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.021, allocations: 8 kB / 1.031 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.021, allocations: 7.922 kB / 1.031 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.375e-06/1.021, allocations: 3.938 kB / 1.031 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/1.021, allocations: 0 / 1.031 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/1.021, allocations: 19.89 kB / 1.031 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/1.022, allocations: 12 kB / 1.031 GB, free: 6.633 MB / 0.6511 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.0001422/1.022, allocations: 150.1 kB / 1.031 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/1.022, allocations: 19.89 kB / 1.031 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/1.022, allocations: 12.61 kB / 1.031 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/1.022, allocations: 0 / 1.031 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.022, allocations: 0 / 1.031 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/1.022, allocations: 0 / 1.031 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/1.022, allocations: 149.9 kB / 1.031 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.022, allocations: 0 / 1.031 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/1.022, allocations: 0 / 1.031 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.022, allocations: 3.953 kB / 1.031 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/1.022, allocations: 15.23 kB / 1.031 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/1.022, allocations: 0 / 1.031 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.022, allocations: 0 / 1.031 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/1.022, allocations: 243.3 kB / 1.032 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/1.022, allocations: 88.62 kB / 1.032 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/1.023, allocations: 11.95 kB / 1.032 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/1.023, allocations: 11.98 kB / 1.032 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/1.023, allocations: 19.67 kB / 1.032 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/1.023, allocations: 8 kB / 1.032 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.797e-05/1.023, allocations: 97.27 kB / 1.032 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.023, allocations: 4.031 kB / 1.032 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004063/1.023, allocations: 113.3 kB / 1.032 GB, free: 5.668 MB / 0.6511 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.0007925/1.024, allocations: 395.8 kB / 1.032 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003304/1.024, allocations: 277 kB / 1.033 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.024, allocations: 0 / 1.033 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/1.025, allocations: 210.1 kB / 1.033 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/1.025, allocations: 6.578 kB / 1.033 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009553/1.026, allocations: 475.9 kB / 1.033 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/1.026, allocations: 0.6885 MB / 1.034 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.776e-05/1.026, allocations: 59.73 kB / 1.034 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.444e-05/1.026, allocations: 11.44 kB / 1.034 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.026, allocations: 0 / 1.034 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of Templates: time 0.006779/1.033, allocations: 3.853 MB / 1.038 GB, free: 15.94 MB / 0.6667 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)