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.233/1.233, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008507/0.0008508, allocations: 174.6 kB / 325.8 MB, free: 2.727 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.322/1.322, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006527/0.0006527, allocations: 86.7 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.0002577, allocations: 13.22 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1469, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0006724/0.1477, allocations: 282.2 kB / 0.8965 GB, free: 67.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.149, allocations: 1.29 MB / 0.8977 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.321e-05/0.149, allocations: 0 / 0.8977 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.693e-05/0.1491, allocations: 11.92 kB / 0.8978 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/0.1491, allocations: 0 / 0.8978 GB, free: 66.55 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.1496, allocations: 263.5 kB / 0.898 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.1496, allocations: 75.86 kB / 0.8981 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.1497, allocations: 4 kB / 0.8981 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.119e-05/0.1497, allocations: 35.91 kB / 0.8981 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.76e-05/0.1498, allocations: 35.91 kB / 0.8982 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1498, allocations: 8 kB / 0.8982 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.1501, allocations: 215.6 kB / 0.8984 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.1501, allocations: 11.92 kB / 0.8984 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.1502, allocations: 27.86 kB / 0.8984 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.1504, allocations: 283.4 kB / 0.8987 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1504, allocations: 3.984 kB / 0.8987 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1504, allocations: 0 / 0.8987 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.1504, allocations: 0 / 0.8987 GB, free: 65.61 MB / 0.6042 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.0002329/0.1507, allocations: 413.2 kB / 0.8991 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.1507, allocations: 12.03 kB / 0.8991 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.1507, allocations: 38.75 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.1508, allocations: 8.844 kB / 0.8991 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.822e-05/0.1508, allocations: 172.4 kB / 0.8993 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.1509, allocations: 4.375 kB / 0.8993 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1509, allocations: 8.312 kB / 0.8993 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.151, allocations: 133.5 kB / 0.8994 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-06/0.1511, allocations: 0 / 0.8994 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1511, allocations: 0 / 0.8994 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1511, allocations: 7.984 kB / 0.8994 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/0.1512, allocations: 59.95 kB / 0.8995 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.514e-05/0.1513, allocations: 157.7 kB / 0.8997 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1514, allocations: 114.5 kB / 0.8998 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.48e-05/0.1515, allocations: 104.8 kB / 0.8999 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-06/0.1515, allocations: 7.922 kB / 0.8999 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.1515, allocations: 34.56 kB / 0.8999 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1515, allocations: 0 / 0.8999 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0003528/0.1519, allocations: 295.1 kB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.1519, allocations: 93.09 kB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.57e-05/0.152, allocations: 125.7 kB / 0.9004 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.152, allocations: 29.7 kB / 0.9004 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.694e-05/0.152, allocations: 84.14 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.152, allocations: 15.81 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.1521, allocations: 21.64 kB / 0.9005 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.114e-05/0.1521, allocations: 314.8 kB / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.28e-05/0.1522, allocations: 67.97 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.1522, allocations: 59.95 kB / 0.901 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1524, allocations: 180.5 kB / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1524, allocations: 0 / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002299/0.1526, allocations: 227.2 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.1527, allocations: 45.62 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1527, allocations: 7.938 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.1527, allocations: 0 / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.1527, allocations: 0 / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1527, allocations: 3.984 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.1529, allocations: 31.83 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.153, allocations: 19.98 kB / 0.9015 GB, free: 62.49 MB / 0.6042 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 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.066e-05/0.1531, allocations: 163.5 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.1531, allocations: 15.84 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.178e-06/0.1531, allocations: 8.375 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1531, allocations: 0 / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1531, allocations: 0 / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.1532, allocations: 0 / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.752e-05/0.1532, allocations: 173.6 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1532, allocations: 3.938 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1532, allocations: 0 / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1532, allocations: 0 / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1533, allocations: 15.98 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1533, allocations: 0 / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1533, allocations: 3.984 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.1535, allocations: 294.8 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.1536, allocations: 81.05 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.1536, allocations: 12.02 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1538, allocations: 15.98 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.1538, allocations: 15.92 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.1538, allocations: 15.98 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.955e-05/0.1539, allocations: 95.27 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1539, allocations: 0 / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002631/0.1541, allocations: 95.83 kB / 0.9024 GB, free: 61.39 MB / 0.6042 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]) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01399/0.1681, allocations: 1.115 MB / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.1686, allocations: 291.2 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1686, allocations: 0 / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.1687, allocations: 211.3 kB / 0.904 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.1689, allocations: 14.02 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.1696, allocations: 384.2 kB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.587e-05/0.1697, allocations: 0.6809 MB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.043e-05/0.1697, allocations: 55.8 kB / 0.9051 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.1698, allocations: 15.44 kB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.1698, allocations: 4 kB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2395/0.4093, allocations: 4.798 MB / 0.9098 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.4095, allocations: 306.6 kB / 0.9101 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.167, allocations: 0 / 0.9101 GB, free: 53.61 MB / 0.6042 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)