Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.635/1.635, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001116/0.001116, allocations: 184.9 kB / 361.4 MB, free: 6.797 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.499/1.499, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.000842/0.0008423, allocations: 98.38 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.873e-05, allocations: 0 / 0.8519 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7239/0.7239, allocations: 115.3 MB / 0.9645 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2104/0.9344, allocations: 140.6 MB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.9348, allocations: 87.94 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03136/0.9661, allocations: 11.4 MB / 1.113 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9662, allocations: 0 / 1.113 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.9662, allocations: 4 kB / 1.113 GB, free: 3.656 MB / 0.7136 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.0006032/0.9668, allocations: 440.6 kB / 1.113 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.9669, allocations: 15.88 kB / 1.113 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.967, allocations: 5.031 kB / 1.113 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.9672, allocations: 182.9 kB / 1.114 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.9672, allocations: 4 kB / 1.114 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.9672, allocations: 8 kB / 1.114 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001514/0.9674, allocations: 58.02 kB / 1.114 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.9676, allocations: 121.6 kB / 1.114 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.9676, allocations: 0 / 1.114 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.9676, allocations: 3.938 kB / 1.114 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.9677, allocations: 0 / 1.114 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.9678, allocations: 138.2 kB / 1.114 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.968, allocations: 110.6 kB / 1.114 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.9681, allocations: 100.9 kB / 1.114 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.9681, allocations: 3.984 kB / 1.114 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.9682, allocations: 34.56 kB / 1.114 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.9682, allocations: 0 / 1.114 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005117/0.9687, allocations: 181.6 kB / 1.114 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.9688, allocations: 93.09 kB / 1.114 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.9689, allocations: 116.8 kB / 1.115 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.9689, allocations: 25.7 kB / 1.115 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.9689, allocations: 92.17 kB / 1.115 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.969, allocations: 23.69 kB / 1.115 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.969, allocations: 4 kB / 1.115 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9691, allocations: 314.8 kB / 1.115 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.709e-05/0.9692, allocations: 59.95 kB / 1.115 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.579e-05/0.9693, allocations: 51.95 kB / 1.115 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.9695, allocations: 63.94 kB / 1.115 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9696, allocations: 0 / 1.115 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003743/0.9699, allocations: 194.9 kB / 1.115 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.97, allocations: 45.69 kB / 1.115 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.97, allocations: 0 / 1.115 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.97, allocations: 1.219 kB / 1.115 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.97, allocations: 0 / 1.115 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.9701, allocations: 4 kB / 1.115 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.9703, allocations: 11.98 kB / 1.115 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/0.9703, allocations: 22.02 kB / 1.115 GB, free: 0.9727 MB / 0.7136 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.0001516/0.9705, allocations: 150.6 kB / 1.116 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004048/0.9709, allocations: 223.3 kB / 1.116 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.9709, allocations: 15.91 kB / 1.116 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.971, allocations: 4.625 kB / 1.116 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.971, allocations: 0 / 1.116 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.971, allocations: 0 / 1.116 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.971, allocations: 0 / 1.116 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.9711, allocations: 154.2 kB / 1.116 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.9711, allocations: 2.906 kB / 1.116 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.9711, allocations: 0 / 1.116 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.9711, allocations: 0 / 1.116 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.9712, allocations: 11.98 kB / 1.116 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9712, allocations: 4.031 kB / 1.116 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9712, allocations: 0 / 1.116 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.9716, allocations: 243 kB / 1.116 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.9717, allocations: 97.08 kB / 1.116 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.9717, allocations: 8 kB / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.9719, allocations: 11.98 kB / 1.116 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.972, allocations: 15.98 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.972, allocations: 16.02 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.9721, allocations: 95.27 kB / 1.116 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9721, allocations: 0 / 1.116 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004362/0.9725, allocations: 107.8 kB / 1.117 GB, free: 15.74 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.001496/0.974, allocations: 1.073 MB / 1.118 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.9744, allocations: 275.3 kB / 1.118 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9744, allocations: 64 / 1.118 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.9746, allocations: 207.3 kB / 1.118 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.9747, allocations: 9.547 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.9761, allocations: 0.5504 MB / 1.119 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.9764, allocations: 0.6853 MB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.674e-05/0.9764, allocations: 59.2 kB / 1.119 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.9765, allocations: 15.44 kB / 1.119 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.9765, allocations: 0 / 1.119 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/1.002, allocations: 4.391 MB / 1.124 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/1.003, allocations: 223.3 kB / 1.124 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.63, allocations: 0 / 1.124 GB, free: 8.289 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)