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.ExchangeWithPassPythonObject.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: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.606/2.606, allocations: 287.5 MB / 302.4 MB, free: 8.184 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.001992/0.001992, allocations: 192.5 kB / 371 MB, free: 10.87 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.067/2.067, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0008873/0.0008868, allocations: 93.53 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004918, allocations: 12.02 kB / 0.8658 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2268, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008195/0.2277, allocations: 267.1 kB / 0.9786 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.2293, allocations: 1.055 MB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.2293, allocations: 0 / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.2294, allocations: 8 kB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.423e-05/0.2295, allocations: 0 / 0.9797 GB, free: 27.01 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0005009/0.23, allocations: 143.6 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.017e-05/0.2301, allocations: 15.97 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.2301, allocations: 4 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.396e-05/0.2302, allocations: 11.98 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.2302, allocations: 4 kB / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2302, allocations: 0 / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004013/0.2307, allocations: 167.7 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.2307, allocations: 8 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.2307, allocations: 25.7 kB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.231, allocations: 139.8 kB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.231, allocations: 0 / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.231, allocations: 0 / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.231, allocations: 0 / 0.9802 GB, free: 26.49 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.0003039/0.2314, allocations: 363.3 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2314, allocations: 16.02 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.2314, allocations: 0 / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2316, allocations: 167 kB / 0.9807 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.2316, allocations: 0 / 0.9807 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2316, allocations: 4 kB / 0.9807 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.2317, allocations: 45.61 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2318, allocations: 0 / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2318, allocations: 4 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.2318, allocations: 4 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.2319, allocations: 4 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.232, allocations: 165.8 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.146e-05/0.2321, allocations: 30.59 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.2322, allocations: 16.86 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.912e-06/0.2322, allocations: 0 / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.2322, allocations: 42.55 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.2322, allocations: 0 / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001831/0.2324, allocations: 49.69 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.2325, allocations: 55.41 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.514e-05/0.2325, allocations: 101.8 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.2325, allocations: 25.7 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.695e-05/0.2326, allocations: 80.14 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.2326, allocations: 8.156 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.2326, allocations: 4 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.2327, allocations: 318.8 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.2327, allocations: 11.88 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.2328, allocations: 7.984 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.324e-05/0.2328, allocations: 8 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2328, allocations: 0 / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001/0.2329, allocations: 45.69 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2329, allocations: 12.08 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.233, allocations: 4 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.233, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.233, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.233, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.233, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.2331, allocations: 4 kB / 0.9817 GB, free: 24.71 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 6.436e-05/0.2331, allocations: 117.8 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.2332, allocations: 4 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.062e-05/0.2332, allocations: 7.125 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.2332, allocations: 7.969 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2332, allocations: 0 / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2332, allocations: 0 / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.442e-05/0.2333, allocations: 161.6 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2333, allocations: 0 / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.2334, allocations: 3.938 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2334, allocations: 0 / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.2334, allocations: 4 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2334, allocations: 0 / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2334, allocations: 3.984 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.2335, allocations: 85.06 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.2336, allocations: 81.02 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.2336, allocations: 4 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.2337, allocations: 0 / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.2337, allocations: 0 / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.2338, allocations: 11.98 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.332e-05/0.2338, allocations: 79.31 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2338, allocations: 0 / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003514/0.2342, allocations: 59.92 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0008208/0.235, allocations: 292.7 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.2351, allocations: 15.94 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2351, allocations: 4.062 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/0.2352, allocations: 15.98 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.2353, allocations: 3.984 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.2358, allocations: 102.7 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.2359, allocations: 0.6809 MB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000123/0.236, allocations: 23.98 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.2361, allocations: 23.42 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of SimCode: time 8.12e-07/0.2361, allocations: 0 / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.004842/0.241, allocations: 1.524 MB / 0.9849 GB, free: 21.35 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)