Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_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.656/1.656, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.00115/0.00115, allocations: 184.9 kB / 361.4 MB, free: 6.844 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.767/1.767, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008087/0.0008087, allocations: 93.28 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.761e-05, allocations: 0 / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6802/0.6803, allocations: 115.3 MB / 0.9645 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.8708, allocations: 140.2 MB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/0.8712, allocations: 87.92 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03064/0.9018, allocations: 10.73 MB / 1.112 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9019, allocations: 0 / 1.112 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.9019, allocations: 0 / 1.112 GB, free: 4.789 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.0006921/0.9026, allocations: 432 kB / 1.112 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.9027, allocations: 8.031 kB / 1.112 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.921e-05/0.9028, allocations: 16.95 kB / 1.112 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.9031, allocations: 178.9 kB / 1.113 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.9031, allocations: 4 kB / 1.113 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.9032, allocations: 4 kB / 1.113 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001474/0.9033, allocations: 58.2 kB / 1.113 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.9035, allocations: 115 kB / 1.113 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.9035, allocations: 0 / 1.113 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.9036, allocations: 11.92 kB / 1.113 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.9036, allocations: 7.984 kB / 1.113 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.9038, allocations: 138.2 kB / 1.113 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.9039, allocations: 110.8 kB / 1.113 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.9041, allocations: 96.91 kB / 1.113 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.9041, allocations: 0 / 1.113 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.9041, allocations: 34.56 kB / 1.113 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.9041, allocations: 0 / 1.113 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005972/0.9047, allocations: 185.6 kB / 1.113 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.9048, allocations: 85.11 kB / 1.113 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.905, allocations: 124.8 kB / 1.113 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.905, allocations: 30.73 kB / 1.114 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.9051, allocations: 84.14 kB / 1.114 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.9051, allocations: 11.81 kB / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.9051, allocations: 4 kB / 1.114 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.9053, allocations: 326.8 kB / 1.114 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.9054, allocations: 56 kB / 1.114 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.925e-05/0.9055, allocations: 55.95 kB / 1.114 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.9057, allocations: 69.86 kB / 1.114 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9057, allocations: 0 / 1.114 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004074/0.9061, allocations: 185.4 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-05/0.9062, allocations: 51.08 kB / 1.114 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.9062, allocations: 5.031 kB / 1.114 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9062, allocations: 0 / 1.114 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.9062, allocations: 0 / 1.114 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.9063, allocations: 3.938 kB / 1.114 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.9065, allocations: 20.05 kB / 1.114 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.9065, allocations: 8 kB / 1.114 GB, free: 2.113 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.0001641/0.9067, allocations: 159.3 kB / 1.115 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004532/0.9072, allocations: 219.4 kB / 1.115 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.9072, allocations: 15.89 kB / 1.115 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.9072, allocations: 4.625 kB / 1.115 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.9072, allocations: 0 / 1.115 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.9073, allocations: 5.125 kB / 1.115 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.9073, allocations: 0 / 1.115 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.9074, allocations: 158.1 kB / 1.115 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.9074, allocations: 0 / 1.115 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-07/0.9074, allocations: 0 / 1.115 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9074, allocations: 0 / 1.115 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.9075, allocations: 15.98 kB / 1.115 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.9075, allocations: 0 / 1.115 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.9075, allocations: 4 kB / 1.115 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.908, allocations: 234.6 kB / 1.115 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.908, allocations: 101 kB / 1.115 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.9081, allocations: 4 kB / 1.115 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.9083, allocations: 17.86 kB / 1.115 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.9083, allocations: 11.92 kB / 1.115 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.9084, allocations: 12 kB / 1.115 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.039e-05/0.9084, allocations: 91.27 kB / 1.115 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9084, allocations: 0 / 1.115 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004625/0.9089, allocations: 103.9 kB / 1.115 GB, free: 0.8906 MB / 0.7136 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.00171/0.9106, allocations: 1.083 MB / 1.117 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.911, allocations: 271.2 kB / 1.117 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.911, allocations: 0 / 1.117 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.9112, allocations: 207.3 kB / 1.117 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.9114, allocations: 4 kB / 1.117 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.9127, allocations: 0.5387 MB / 1.118 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.913, allocations: 0.6853 MB / 1.118 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.068e-05/0.9131, allocations: 51.45 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.9131, allocations: 18.34 kB / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of SimCode: time 7.31e-07/0.9131, allocations: 0 / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.9396, allocations: 4.331 MB / 1.122 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002923/0.94, allocations: 216.1 kB / 1.123 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.533, allocations: 4 kB / 1.123 GB, free: 9.516 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)