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: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 249.5 MB / 257 MB, free: 6.926 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.001201/0.0012, allocations: 180.8 kB / 316.3 MB, free: 3.238 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.623/1.623, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008572/0.000857, allocations: 94.55 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.913e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1783, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6669/0.8452, allocations: 135.3 MB / 1.017 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.8456, allocations: 92.88 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0291/0.8747, allocations: 11.4 MB / 1.029 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8747, allocations: 4 kB / 1.029 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8747, allocations: 0 / 1.029 GB, free: 8.695 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.0005081/0.8753, allocations: 430 kB / 1.029 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.8753, allocations: 12.02 kB / 1.029 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.8754, allocations: 11.91 kB / 1.029 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.8755, allocations: 175 kB / 1.029 GB, free: 8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.8756, allocations: 3.938 kB / 1.029 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.8756, allocations: 8 kB / 1.029 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001252/0.8757, allocations: 56.2 kB / 1.029 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.8759, allocations: 122.2 kB / 1.029 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.8759, allocations: 0 / 1.029 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.876, allocations: 4 kB / 1.029 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.876, allocations: 3.938 kB / 1.029 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.8761, allocations: 134.2 kB / 1.03 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.8763, allocations: 114.6 kB / 1.03 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.8764, allocations: 98.09 kB / 1.03 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.8764, allocations: 0 / 1.03 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.8765, allocations: 34.56 kB / 1.03 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.8765, allocations: 0 / 1.03 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0004978/0.877, allocations: 188.7 kB / 1.03 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.877, allocations: 91.78 kB / 1.03 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.8771, allocations: 115.6 kB / 1.03 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.8772, allocations: 29.7 kB / 1.03 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.8772, allocations: 83.39 kB / 1.03 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.8773, allocations: 19.75 kB / 1.03 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.8773, allocations: 4.031 kB / 1.03 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.8774, allocations: 322.3 kB / 1.031 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.8775, allocations: 53.89 kB / 1.031 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.95e-05/0.8776, allocations: 58.27 kB / 1.031 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.8778, allocations: 71.39 kB / 1.031 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.8778, allocations: 0 / 1.031 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003643/0.8781, allocations: 193.9 kB / 1.031 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.8782, allocations: 41.69 kB / 1.031 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8782, allocations: 0 / 1.031 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.8782, allocations: 4.062 kB / 1.031 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.8782, allocations: 0 / 1.031 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.8782, allocations: 0 / 1.031 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.8784, allocations: 19.89 kB / 1.031 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/0.8785, allocations: 19.42 kB / 1.031 GB, free: 6.191 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.0001409/0.8787, allocations: 154.6 kB / 1.031 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004181/0.8791, allocations: 210.4 kB / 1.031 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.8791, allocations: 11.91 kB / 1.031 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.8791, allocations: 12.31 kB / 1.031 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8792, allocations: 4.031 kB / 1.031 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.8792, allocations: 0 / 1.031 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.8792, allocations: 0 / 1.031 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.8793, allocations: 153.6 kB / 1.032 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8793, allocations: 0 / 1.032 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.8793, allocations: 0 / 1.032 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.8793, allocations: 4 kB / 1.032 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.8794, allocations: 11.98 kB / 1.032 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.8794, allocations: 0 / 1.032 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8794, allocations: 0 / 1.032 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.8798, allocations: 252.7 kB / 1.032 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.8799, allocations: 95.5 kB / 1.032 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.8799, allocations: 4 kB / 1.032 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.8801, allocations: 15.98 kB / 1.032 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.8802, allocations: 7.984 kB / 1.032 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.8802, allocations: 19.92 kB / 1.032 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.437e-05/0.8802, allocations: 90.34 kB / 1.032 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8803, allocations: 4.031 kB / 1.032 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006682/0.8809, allocations: 107.7 kB / 1.032 GB, free: 5.035 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.001348/0.8823, allocations: 1.077 MB / 1.033 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003229/0.8826, allocations: 272.2 kB / 1.034 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8826, allocations: 0 / 1.034 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.8828, allocations: 203.5 kB / 1.034 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.883, allocations: 7.5 kB / 1.034 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.8843, allocations: 0.5557 MB / 1.034 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.8845, allocations: 0.6846 MB / 1.035 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.708e-05/0.8846, allocations: 63.73 kB / 1.035 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.8846, allocations: 7.438 kB / 1.035 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.8847, allocations: 4 kB / 1.035 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.91, allocations: 4.395 MB / 1.039 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.9103, allocations: 235.8 kB / 1.04 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.453, allocations: 1.562 kB / 1.04 GB, free: 13.68 MB / 0.6667 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.fmu > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)