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.ExchangeWithPassPythonObject.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: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 288.4 MB / 304.3 MB, free: 8.199 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.0009891/0.0009893, allocations: 179.5 kB / 372.9 MB, free: 10.14 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.431/1.431, allocations: 205.4 MB / 0.6316 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007889/0.0007893, allocations: 93.17 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 15.31 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1797, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.0007134/0.1805, allocations: 268 kB / 0.981 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1817, allocations: 1.075 MB / 0.982 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.759e-05/0.1817, allocations: 0 / 0.982 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.652e-05/0.1818, allocations: 4 kB / 0.982 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/0.1819, allocations: 3.984 kB / 0.9821 GB, free: 26 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.1822, allocations: 139.7 kB / 0.9822 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.303e-05/0.1823, allocations: 11.92 kB / 0.9822 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.1823, allocations: 4 kB / 0.9822 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.1824, allocations: 11.98 kB / 0.9822 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.1824, allocations: 7.984 kB / 0.9822 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1825, allocations: 4 kB / 0.9822 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.1827, allocations: 163.7 kB / 0.9824 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.1828, allocations: 7.984 kB / 0.9824 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.1828, allocations: 37.69 kB / 0.9824 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.183, allocations: 139.8 kB / 0.9826 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.183, allocations: 0 / 0.9826 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.183, allocations: 0 / 0.9826 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.183, allocations: 0 / 0.9826 GB, free: 25.48 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002839/0.1833, allocations: 355.5 kB / 0.9829 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1833, allocations: 8.031 kB / 0.9829 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.1834, allocations: 8.938 kB / 0.9829 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.909e-05/0.1835, allocations: 172.2 kB / 0.9831 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1835, allocations: 384 / 0.9831 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.1835, allocations: 384 / 0.9831 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1836, allocations: 41.81 kB / 0.9831 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1836, allocations: 4 kB / 0.9831 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1837, allocations: 0 / 0.9831 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.1837, allocations: 3.984 kB / 0.9831 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.317e-05/0.1837, allocations: 8 kB / 0.9831 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.1838, allocations: 158 kB / 0.9833 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.664e-05/0.1839, allocations: 30.53 kB / 0.9833 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.1839, allocations: 20.92 kB / 0.9833 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.044e-06/0.1839, allocations: 0 / 0.9833 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.184, allocations: 34.5 kB / 0.9834 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.184, allocations: 0 / 0.9834 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001425/0.1841, allocations: 65.59 kB / 0.9834 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.1841, allocations: 55.41 kB / 0.9835 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.1842, allocations: 97.8 kB / 0.9836 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.1842, allocations: 33.58 kB / 0.9836 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.524e-05/0.1842, allocations: 84.14 kB / 0.9837 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.1843, allocations: 3.906 kB / 0.9837 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.1843, allocations: 0 / 0.9837 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.169e-05/0.1843, allocations: 315.1 kB / 0.984 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.1843, allocations: 12 kB / 0.984 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.188e-05/0.1844, allocations: 8 kB / 0.984 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.1844, allocations: 20.84 kB / 0.984 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1844, allocations: 0 / 0.984 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.182e-05/0.1845, allocations: 49.69 kB / 0.9841 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1845, allocations: 7.938 kB / 0.9841 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1845, allocations: 0 / 0.9841 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1845, allocations: 7.984 kB / 0.9841 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.1845, allocations: 8.031 kB / 0.9841 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.1845, allocations: 0 / 0.9841 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.282e-05/0.1846, allocations: 0 / 0.9841 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1846, allocations: 4 kB / 0.9841 GB, free: 23.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 2 * Algorithm blocks: 0 * 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 4.68e-05/0.1846, allocations: 109.8 kB / 0.9842 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-06/0.1846, allocations: 3.938 kB / 0.9842 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.576e-06/0.1847, allocations: 7.125 kB / 0.9842 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1847, allocations: 0 / 0.9842 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1847, allocations: 0 / 0.9842 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.1847, allocations: 85.09 kB / 0.9843 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1847, allocations: 3.984 kB / 0.9843 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.1848, allocations: 4 kB / 0.9843 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.1848, allocations: 0 / 0.9843 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.104e-05/0.1849, allocations: 129 kB / 0.9844 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.309e-05/0.185, allocations: 234.6 kB / 0.9847 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.024e-05/0.185, allocations: 8.062 kB / 0.9847 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.426e-05/0.185, allocations: 83.27 kB / 0.9847 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of Backend: time 2.1e-07/0.185, allocations: 0 / 0.9847 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007515/0.1858, allocations: 293.9 kB / 0.985 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0002507/0.186, allocations: 0.539 MB / 0.9855 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.003278/0.1893, allocations: 1.648 MB / 0.9872 GB, free: 20.54 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)