Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.092/2.092, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001373/0.001373, allocations: 181.4 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.293/2.293, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0009595/0.0009594, allocations: 94.11 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000504/0.0005043, allocations: 10.44 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2081, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008293/0.209, allocations: 258.8 kB / 0.8998 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.2107, allocations: 1.074 MB / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.2107, allocations: 0 / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.2108, allocations: 11.92 kB / 0.9008 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.2109, allocations: 0 / 0.9008 GB, free: 64.16 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0005075/0.2114, allocations: 139.7 kB / 0.901 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.979e-05/0.2115, allocations: 11.98 kB / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.2115, allocations: 0 / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.2115, allocations: 11.98 kB / 0.901 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.2116, allocations: 15.92 kB / 0.901 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.2116, allocations: 4 kB / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003883/0.212, allocations: 163.7 kB / 0.9012 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.2121, allocations: 0 / 0.9012 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.2121, allocations: 29.7 kB / 0.9012 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.2124, allocations: 135.8 kB / 0.9013 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2124, allocations: 4 kB / 0.9013 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2124, allocations: 0 / 0.9013 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2124, allocations: 0 / 0.9013 GB, free: 63.65 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003167/0.2128, allocations: 361.4 kB / 0.9017 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2128, allocations: 12.03 kB / 0.9017 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.2129, allocations: 4.938 kB / 0.9017 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.213, allocations: 172.3 kB / 0.9018 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.213, allocations: 4.359 kB / 0.9018 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.213, allocations: 384 / 0.9018 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.2132, allocations: 41.81 kB / 0.9019 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.2132, allocations: 4 kB / 0.9019 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.2132, allocations: 0 / 0.9019 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.2133, allocations: 0 / 0.9019 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.625e-05/0.2133, allocations: 11.98 kB / 0.9019 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.2135, allocations: 153.7 kB / 0.902 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.895e-05/0.2136, allocations: 30.5 kB / 0.9021 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.2136, allocations: 16.91 kB / 0.9021 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-06/0.2136, allocations: 0 / 0.9021 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2136, allocations: 38.5 kB / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.2137, allocations: 3.938 kB / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001921/0.2139, allocations: 53.69 kB / 0.9022 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.2139, allocations: 55.41 kB / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.214, allocations: 101.8 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.214, allocations: 25.7 kB / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.931e-05/0.214, allocations: 84.14 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.2141, allocations: 3.906 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.2141, allocations: 3.984 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.2141, allocations: 315.1 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.2142, allocations: 7.984 kB / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.2142, allocations: 8 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/0.2143, allocations: 8 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2143, allocations: 0 / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001036/0.2144, allocations: 53.67 kB / 0.9028 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2144, allocations: 7.938 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2144, allocations: 0 / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2144, allocations: 3.938 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.462e-06/0.2145, allocations: 4.094 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2145, allocations: 0 / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.2145, allocations: 0 / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.2145, allocations: 4 kB / 0.9028 GB, free: 61.88 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: 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.755e-05/0.2146, allocations: 113.8 kB / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.2146, allocations: 7.844 kB / 0.903 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.344e-05/0.2146, allocations: 7.109 kB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2147, allocations: 0 / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2147, allocations: 0 / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.2147, allocations: 93.38 kB / 0.903 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.2147, allocations: 0 / 0.903 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2148, allocations: 0 / 0.903 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.2149, allocations: 7.984 kB / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000101/0.215, allocations: 117 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001356/0.2151, allocations: 230.7 kB / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.758e-05/0.2152, allocations: 16.05 kB / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.274e-05/0.2152, allocations: 79.28 kB / 0.9035 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of Backend: time 6.11e-07/0.2152, allocations: 0 / 0.9035 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.2164, allocations: 293.1 kB / 0.9038 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003562/0.2168, allocations: 0.5486 MB / 0.9043 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.005248/0.222, allocations: 1.669 MB / 0.9059 GB, free: 58.7 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)