Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.628/2.628, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001588/0.001588, allocations: 180.9 kB / 360.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.2 MB / 0.6191 GB, free: 12.17 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.001121/0.001121, allocations: 88.58 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.253e-05, allocations: 4 kB / 0.8509 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8568/0.8569, allocations: 115.3 MB / 0.9634 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2517/1.109, allocations: 140.5 MB / 1.101 GB, free: 20 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004075/1.109, allocations: 97.33 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05464/1.164, allocations: 11.4 MB / 1.112 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.991e-06/1.164, allocations: 0 / 1.112 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.398e-06/1.164, allocations: 11.94 kB / 1.112 GB, free: 4.605 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.0006479/1.165, allocations: 439.9 kB / 1.112 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.165, allocations: 8.031 kB / 1.112 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.243e-05/1.165, allocations: 4 kB / 1.112 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/1.165, allocations: 182.9 kB / 1.112 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/1.165, allocations: 4 kB / 1.112 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/1.165, allocations: 4 kB / 1.112 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001991/1.165, allocations: 59.95 kB / 1.113 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/1.165, allocations: 117.5 kB / 1.113 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.165, allocations: 4 kB / 1.113 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/1.166, allocations: 4 kB / 1.113 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.166, allocations: 0 / 1.113 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/1.166, allocations: 141.6 kB / 1.113 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/1.166, allocations: 110.6 kB / 1.113 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/1.166, allocations: 100.9 kB / 1.113 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/1.166, allocations: 0 / 1.113 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/1.166, allocations: 38.56 kB / 1.113 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/1.166, allocations: 4 kB / 1.113 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0007536/1.167, allocations: 183.6 kB / 1.113 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/1.167, allocations: 89.11 kB / 1.113 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/1.167, allocations: 112.9 kB / 1.113 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/1.167, allocations: 25.7 kB / 1.113 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/1.167, allocations: 92.12 kB / 1.113 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/1.167, allocations: 23.69 kB / 1.114 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/1.167, allocations: 4 kB / 1.114 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.168, allocations: 314.9 kB / 1.114 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/1.168, allocations: 59.95 kB / 1.114 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/1.168, allocations: 51.95 kB / 1.114 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/1.168, allocations: 71.88 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.168, allocations: 0 / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006286/1.169, allocations: 185.5 kB / 1.114 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.717e-05/1.169, allocations: 41.69 kB / 1.114 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/1.169, allocations: 0 / 1.114 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.169, allocations: 0 / 1.114 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-06/1.169, allocations: 8.062 kB / 1.114 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.169, allocations: 7.922 kB / 1.114 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/1.169, allocations: 12 kB / 1.114 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/1.17, allocations: 15.98 kB / 1.114 GB, free: 1.926 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.0001779/1.17, allocations: 150.6 kB / 1.114 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006743/1.17, allocations: 219.9 kB / 1.115 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/1.17, allocations: 11.91 kB / 1.115 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/1.171, allocations: 8.609 kB / 1.115 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.171, allocations: 4.031 kB / 1.115 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.171, allocations: 0 / 1.115 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/1.171, allocations: 0 / 1.115 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/1.171, allocations: 152.7 kB / 1.115 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.171, allocations: 0 / 1.115 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/1.171, allocations: 0 / 1.115 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/1.171, allocations: 3.984 kB / 1.115 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/1.171, allocations: 8 kB / 1.115 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.171, allocations: 0 / 1.115 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.171, allocations: 0 / 1.115 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007052/1.172, allocations: 256.7 kB / 1.115 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/1.172, allocations: 93 kB / 1.115 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/1.172, allocations: 4 kB / 1.115 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/1.172, allocations: 11.98 kB / 1.115 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/1.172, allocations: 12 kB / 1.115 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/1.172, allocations: 15.98 kB / 1.115 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.988e-05/1.172, allocations: 94.17 kB / 1.115 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.2e-07/1.172, allocations: 0 / 1.115 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005914/1.173, allocations: 111.9 kB / 1.115 GB, free: 0.7031 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.002124/1.175, allocations: 1.07 MB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000568/1.176, allocations: 279.3 kB / 1.117 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.176, allocations: 0 / 1.117 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003453/1.176, allocations: 203.3 kB / 1.117 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/1.176, allocations: 13.89 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/1.178, allocations: 0.5508 MB / 1.117 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/1.179, allocations: 0.6923 MB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00013/1.179, allocations: 45.91 kB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/1.179, allocations: 15.42 kB / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of SimCode: time 1.062e-06/1.179, allocations: 4 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04605/1.225, allocations: 4.382 MB / 1.122 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003584/1.225, allocations: 219.4 kB / 1.123 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/4.007, allocations: 3.938 kB / 1.123 GB, free: 9.262 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.fmu > Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)