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.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004785/0.004785, allocations: 101.5 kB / 15.73 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 193.5 kB / 16.67 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.122/1.122, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.213/1.213, allocations: 251.7 MB / 0.5094 GB, free: 424 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 0.7258 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4196, allocations: 104.7 MB / 0.828 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.001499/0.4212, allocations: 0.534 MB / 0.8286 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.4224, allocations: 1.13 MB / 0.8297 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.4225, allocations: 0 / 0.8297 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 7.973e-05/0.4225, allocations: 15.98 kB / 0.8297 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.4226, allocations: 3.938 kB / 0.8297 GB, free: 0.8906 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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.Strings.replace'. Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.423, allocations: 167.5 kB / 0.8298 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 5.088e-05/0.4231, allocations: 19.92 kB / 0.8299 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 2.799e-05/0.4231, allocations: 0 / 0.8299 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.4231, allocations: 4 kB / 0.8299 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.4232, allocations: 15.91 kB / 0.8299 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.4232, allocations: 4 kB / 0.8299 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003069/0.4235, allocations: 191.7 kB / 0.8301 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.4236, allocations: 7.984 kB / 0.8301 GB, free: 500 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.4236, allocations: 15.92 kB / 0.8301 GB, free: 484 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.4238, allocations: 192.2 kB / 0.8303 GB, free: 300 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4238, allocations: 0 / 0.8303 GB, free: 300 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4238, allocations: 0 / 0.8303 GB, free: 300 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.912e-06/0.4239, allocations: 0 / 0.8303 GB, free: 300 kB / 0.6231 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.0003229/0.4242, allocations: 363.1 kB / 0.8306 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.4242, allocations: 12.03 kB / 0.8306 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.4243, allocations: 4.938 kB / 0.8306 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.944e-05/0.4243, allocations: 160.4 kB / 0.8308 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.4244, allocations: 4.375 kB / 0.8308 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.4244, allocations: 8.312 kB / 0.8308 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.4245, allocations: 45.8 kB / 0.8308 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.4245, allocations: 3.938 kB / 0.8308 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.4245, allocations: 0 / 0.8308 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.4245, allocations: 4 kB / 0.8309 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.4246, allocations: 11.92 kB / 0.8309 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.4247, allocations: 153.7 kB / 0.831 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.555e-05/0.4248, allocations: 34.59 kB / 0.831 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.4248, allocations: 12.86 kB / 0.8311 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.4248, allocations: 7.969 kB / 0.8311 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.4248, allocations: 42.5 kB / 0.8311 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4249, allocations: 0 / 0.8311 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0001327/0.425, allocations: 49.69 kB / 0.8312 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.425, allocations: 51.41 kB / 0.8312 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/0.4251, allocations: 106 kB / 0.8313 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.4251, allocations: 25.7 kB / 0.8313 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.4251, allocations: 80.14 kB / 0.8314 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.4252, allocations: 11.89 kB / 0.8314 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.4252, allocations: 13.72 kB / 0.8314 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.4253, allocations: 310.8 kB / 0.8317 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.4253, allocations: 15.92 kB / 0.8317 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.4253, allocations: 12.12 kB / 0.8317 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.4254, allocations: 20.84 kB / 0.8318 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4254, allocations: 0 / 0.8318 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.186e-05/0.4255, allocations: 57.58 kB / 0.8318 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.4255, allocations: 4 kB / 0.8318 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4255, allocations: 0 / 0.8318 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.4255, allocations: 0 / 0.8318 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.4255, allocations: 0 / 0.8318 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4255, allocations: 7.984 kB / 0.8318 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.4255, allocations: 8.078 kB / 0.8318 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.4256, allocations: 0 / 0.8318 GB, free: 14.46 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/0.4256, allocations: 113.8 kB / 0.832 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.4256, allocations: 3.938 kB / 0.832 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.939e-06/0.4257, allocations: 11.08 kB / 0.832 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4257, allocations: 4 kB / 0.832 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4257, allocations: 0 / 0.832 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.4257, allocations: 3.984 kB / 0.832 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.21e-05/0.4258, allocations: 153.6 kB / 0.8321 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4258, allocations: 7.984 kB / 0.8321 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-06/0.4258, allocations: 3.938 kB / 0.8321 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.4258, allocations: 4 kB / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.4258, allocations: 0 / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.4258, allocations: 0 / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4258, allocations: 3.984 kB / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.327e-05/0.4259, allocations: 69.12 kB / 0.8322 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.426, allocations: 85.05 kB / 0.8323 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.426, allocations: 11.95 kB / 0.8323 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.922e-05/0.426, allocations: 4 kB / 0.8323 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.4261, allocations: 0 / 0.8323 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.4261, allocations: 7.938 kB / 0.8323 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.693e-05/0.4261, allocations: 75.28 kB / 0.8324 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4261, allocations: 0 / 0.8324 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002476/0.4264, allocations: 63.72 kB / 0.8324 GB, free: 13.75 MB / 0.6387 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 (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.0004835/0.4268, allocations: 299.4 kB / 0.8327 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.656e-05/0.4269, allocations: 23.97 kB / 0.8327 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4269, allocations: 0 / 0.8327 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.427, allocations: 11.98 kB / 0.8328 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.4271, allocations: 5.719 kB / 0.8328 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.4273, allocations: 101.1 kB / 0.8329 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.4275, allocations: 0.6844 MB / 0.8335 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.638e-05/0.4276, allocations: 23.86 kB / 0.8336 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.4277, allocations: 23.36 kB / 0.8336 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of SimCode: time 2.11e-07/0.4277, allocations: 0 / 0.8336 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of Templates: time 0.003133/0.4308, allocations: 1.549 MB / 0.8351 GB, free: 11.07 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)