Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 249.5 MB / 257 MB, free: 6.922 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.001037/0.001036, allocations: 180.9 kB / 316.3 MB, free: 3.305 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.642/1.642, allocations: 205.3 MB / 0.5671 GB, free: 15.94 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.0009974/0.0009972, allocations: 90.48 kB / 0.6714 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.566e-05/1.576e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2425, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8143/1.057, allocations: 134.9 MB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.057, allocations: 86.31 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02784/1.085, allocations: 10.72 MB / 1.028 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.323e-06/1.085, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.014e-06/1.085, allocations: 0 / 1.028 GB, free: 10.07 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.0004836/1.086, allocations: 434.5 kB / 1.028 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.086, allocations: 8.031 kB / 1.028 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/1.086, allocations: 19.84 kB / 1.028 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.086, allocations: 174.9 kB / 1.028 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/1.086, allocations: 4 kB / 1.028 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/1.086, allocations: 4 kB / 1.028 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001195/1.086, allocations: 58.52 kB / 1.028 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/1.086, allocations: 116.2 kB / 1.028 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-06/1.086, allocations: 0 / 1.028 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/1.086, allocations: 4 kB / 1.028 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/1.086, allocations: 0 / 1.028 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/1.086, allocations: 145.3 kB / 1.029 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/1.087, allocations: 108.5 kB / 1.029 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.13e-05/1.087, allocations: 99.14 kB / 1.029 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-06/1.087, allocations: 0 / 1.029 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/1.087, allocations: 37.75 kB / 1.029 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/1.087, allocations: 3.938 kB / 1.029 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.000445/1.087, allocations: 190.5 kB / 1.029 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/1.087, allocations: 92.2 kB / 1.029 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/1.087, allocations: 119.4 kB / 1.029 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/1.087, allocations: 25.7 kB / 1.029 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/1.087, allocations: 91.75 kB / 1.029 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/1.087, allocations: 11.81 kB / 1.029 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/1.087, allocations: 4 kB / 1.029 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.088, allocations: 318.2 kB / 1.03 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/1.088, allocations: 57.7 kB / 1.03 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/1.088, allocations: 55.27 kB / 1.03 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/1.088, allocations: 74.84 kB / 1.03 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.088, allocations: 0 / 1.03 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003392/1.088, allocations: 179.6 kB / 1.03 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/1.088, allocations: 45.56 kB / 1.03 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.088, allocations: 0 / 1.03 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.088, allocations: 4 kB / 1.03 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.327e-06/1.088, allocations: 3.984 kB / 1.03 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.088, allocations: 8.297 kB / 1.03 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/1.089, allocations: 15.91 kB / 1.03 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/1.089, allocations: 12.02 kB / 1.03 GB, free: 7.562 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.000127/1.089, allocations: 158.4 kB / 1.03 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003648/1.089, allocations: 218.6 kB / 1.03 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/1.089, allocations: 11.91 kB / 1.03 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/1.089, allocations: 8.609 kB / 1.03 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.089, allocations: 3.938 kB / 1.03 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.089, allocations: 0 / 1.03 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/1.089, allocations: 0 / 1.03 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/1.089, allocations: 153.2 kB / 1.031 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.089, allocations: 0 / 1.031 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-06/1.089, allocations: 8.016 kB / 1.031 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.089, allocations: 0 / 1.031 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/1.089, allocations: 11.31 kB / 1.031 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.089, allocations: 0 / 1.031 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.089, allocations: 0 / 1.031 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/1.09, allocations: 252 kB / 1.031 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/1.09, allocations: 91.62 kB / 1.031 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/1.09, allocations: 4 kB / 1.031 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/1.09, allocations: 20.02 kB / 1.031 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/1.09, allocations: 4 kB / 1.031 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/1.09, allocations: 19.42 kB / 1.031 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.369e-05/1.09, allocations: 90.7 kB / 1.031 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.09, allocations: 0 / 1.031 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003952/1.091, allocations: 102.9 kB / 1.031 GB, free: 6.41 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.001312/1.092, allocations: 1.07 MB / 1.032 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003108/1.092, allocations: 277.3 kB / 1.032 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.092, allocations: 0 / 1.032 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/1.092, allocations: 212.1 kB / 1.033 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/1.093, allocations: 4 kB / 1.033 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/1.094, allocations: 0.54 MB / 1.033 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/1.094, allocations: 0.6845 MB / 1.034 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.257e-05/1.094, allocations: 51.86 kB / 1.034 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/1.094, allocations: 14.06 kB / 1.034 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/1.094, allocations: 0 / 1.034 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/1.117, allocations: 4.338 MB / 1.038 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003368/1.118, allocations: 220.7 kB / 1.038 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/2.606, allocations: 0 / 1.038 GB, free: 15.14 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)