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.441/1.441, allocations: 249.3 MB / 261.8 MB, free: 5.859 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.001128/0.001128, allocations: 174.1 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0009065/0.0009067, allocations: 90.47 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.584e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.237, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7698/1.007, allocations: 135 MB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.007, allocations: 94.8 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02967/1.037, allocations: 11.39 MB / 1.035 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/1.037, allocations: 4 kB / 1.035 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.037, allocations: 0 / 1.035 GB, free: 6.207 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.0005147/1.038, allocations: 427 kB / 1.035 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.038, allocations: 8.031 kB / 1.035 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/1.038, allocations: 15.91 kB / 1.035 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.038, allocations: 170.5 kB / 1.035 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/1.038, allocations: 4 kB / 1.035 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/1.038, allocations: 8 kB / 1.035 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/1.038, allocations: 131 kB / 1.036 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/1.038, allocations: 3.938 kB / 1.036 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/1.038, allocations: 3.938 kB / 1.036 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/1.038, allocations: 0 / 1.036 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/1.038, allocations: 60.83 kB / 1.036 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/1.038, allocations: 165 kB / 1.036 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/1.039, allocations: 111.8 kB / 1.036 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/1.039, allocations: 99.03 kB / 1.036 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/1.039, allocations: 7.938 kB / 1.036 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/1.039, allocations: 34.56 kB / 1.036 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/1.039, allocations: 0 / 1.036 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0003748/1.039, allocations: 210.2 kB / 1.036 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/1.039, allocations: 92.66 kB / 1.036 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.989e-05/1.039, allocations: 115 kB / 1.036 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/1.039, allocations: 29.7 kB / 1.036 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/1.039, allocations: 83.2 kB / 1.037 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/1.039, allocations: 23.77 kB / 1.037 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/1.039, allocations: 4 kB / 1.037 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.04, allocations: 317.8 kB / 1.037 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/1.04, allocations: 61.7 kB / 1.037 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.635e-05/1.04, allocations: 64.95 kB / 1.037 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/1.04, allocations: 84.47 kB / 1.037 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.04, allocations: 0 / 1.037 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003133/1.04, allocations: 208 kB / 1.037 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/1.04, allocations: 48.94 kB / 1.037 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.04, allocations: 4.062 kB / 1.037 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.04, allocations: 3.938 kB / 1.037 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/1.04, allocations: 0 / 1.037 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.04, allocations: 3.984 kB / 1.037 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/1.041, allocations: 15.91 kB / 1.037 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/1.041, allocations: 15.98 kB / 1.037 GB, free: 3.566 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.0001314/1.041, allocations: 152.4 kB / 1.038 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/1.041, allocations: 16.28 kB / 1.038 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/1.041, allocations: 12.61 kB / 1.038 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/1.041, allocations: 0 / 1.038 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.041, allocations: 0 / 1.038 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/1.041, allocations: 3.938 kB / 1.038 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/1.041, allocations: 181 kB / 1.038 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1.041, allocations: 0 / 1.038 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-06/1.041, allocations: 3.938 kB / 1.038 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/1.041, allocations: 0 / 1.038 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/1.041, allocations: 11.98 kB / 1.038 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.041, allocations: 0 / 1.038 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/1.041, allocations: 4 kB / 1.038 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/1.041, allocations: 273.4 kB / 1.038 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/1.041, allocations: 96.61 kB / 1.038 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/1.042, allocations: 7.984 kB / 1.038 GB, free: 2.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/1.042, allocations: 15.98 kB / 1.038 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/1.042, allocations: 4 kB / 1.038 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/1.042, allocations: 19.73 kB / 1.038 GB, free: 2.723 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.112e-05/1.042, allocations: 90.89 kB / 1.038 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/1.042, allocations: 4.031 kB / 1.038 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004237/1.042, allocations: 114.9 kB / 1.038 GB, free: 2.527 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.0008053/1.043, allocations: 397.8 kB / 1.039 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003736/1.043, allocations: 288.7 kB / 1.039 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.043, allocations: 0 / 1.039 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/1.044, allocations: 213.8 kB / 1.039 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/1.044, allocations: 8.125 kB / 1.039 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/1.045, allocations: 0.494 MB / 1.04 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/1.045, allocations: 0.6848 MB / 1.04 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001017/1.045, allocations: 55.86 kB / 1.04 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/1.045, allocations: 11.44 kB / 1.04 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of SimCode: time 3.81e-07/1.045, allocations: 0 / 1.04 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of Templates: time 0.006991/1.052, allocations: 3.898 MB / 1.044 GB, free: 12.7 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)