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.001268/0.001268, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001931/0.001931, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.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.645/1.645, allocations: 251.9 MB / 0.51 GB, free: 4.848 MB / 414.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.001083/0.001083, allocations: 12 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7159/0.717, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0009/0.718, allocations: 263.2 kB / 0.7282 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.7199, allocations: 1.069 MB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.72, allocations: 0 / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.7201, allocations: 0 / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.955e-05/0.7201, allocations: 4 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.7208, allocations: 139.7 kB / 0.7294 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.984e-05/0.7208, allocations: 11.98 kB / 0.7294 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.7209, allocations: 0 / 0.7294 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.37e-05/0.7209, allocations: 15.91 kB / 0.7295 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.721, allocations: 8 kB / 0.7295 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.721, allocations: 4 kB / 0.7295 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.7214, allocations: 139.8 kB / 0.7296 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.7215, allocations: 3.984 kB / 0.7296 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.7215, allocations: 29.7 kB / 0.7296 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.7218, allocations: 143.8 kB / 0.7298 GB, free: 9.621 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7218, allocations: 0 / 0.7298 GB, free: 9.621 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.437e-06/0.7218, allocations: 0 / 0.7298 GB, free: 9.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.7218, allocations: 0 / 0.7298 GB, free: 9.621 MB / 0.545 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.0004853/0.7223, allocations: 363.2 kB / 0.7301 GB, free: 9.219 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.7224, allocations: 11.97 kB / 0.7301 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.7224, allocations: 4 kB / 0.7301 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.7226, allocations: 175 kB / 0.7303 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.7226, allocations: 0 / 0.7303 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.7227, allocations: 0 / 0.7303 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.7228, allocations: 41.67 kB / 0.7303 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.7229, allocations: 0 / 0.7303 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.7229, allocations: 3.984 kB / 0.7303 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.7229, allocations: 4 kB / 0.7303 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.7229, allocations: 4 kB / 0.7303 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.7232, allocations: 163.6 kB / 0.7305 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.217e-05/0.7233, allocations: 34.53 kB / 0.7305 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.7233, allocations: 0 / 0.7305 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.7233, allocations: 34.62 kB / 0.7306 GB, free: 8.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7233, allocations: 0 / 0.7306 GB, free: 8.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002176/0.7236, allocations: 57.67 kB / 0.7306 GB, free: 8.578 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.7236, allocations: 55.53 kB / 0.7307 GB, free: 8.512 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.7237, allocations: 93.86 kB / 0.7308 GB, free: 8.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.7238, allocations: 29.69 kB / 0.7308 GB, free: 8.375 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.7238, allocations: 84.08 kB / 0.7309 GB, free: 8.289 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.7238, allocations: 7.906 kB / 0.7309 GB, free: 8.281 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.7239, allocations: 0 / 0.7309 GB, free: 8.281 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.724, allocations: 318.8 kB / 0.7312 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.724, allocations: 7.984 kB / 0.7312 GB, free: 7.953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.327e-05/0.7241, allocations: 8.125 kB / 0.7312 GB, free: 7.945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.7241, allocations: 11.98 kB / 0.7312 GB, free: 7.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7241, allocations: 0 / 0.7312 GB, free: 7.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.979e-05/0.7242, allocations: 49.69 kB / 0.7313 GB, free: 7.879 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.7242, allocations: 4 kB / 0.7313 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7242, allocations: 3.938 kB / 0.7313 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7243, allocations: 4 kB / 0.7313 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.7243, allocations: 0 / 0.7313 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.7243, allocations: 0 / 0.7313 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.7243, allocations: 4.094 kB / 0.7313 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.7243, allocations: 0 / 0.7313 GB, free: 7.863 MB / 0.545 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 0.0001121/0.7244, allocations: 121.7 kB / 0.7314 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.7244, allocations: 3.906 kB / 0.7314 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.7245, allocations: 7.125 kB / 0.7314 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.7245, allocations: 0 / 0.7314 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.7245, allocations: 0 / 0.7314 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.7245, allocations: 0 / 0.7314 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.7246, allocations: 161.6 kB / 0.7316 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7247, allocations: 7.938 kB / 0.7316 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.7247, allocations: 4 kB / 0.7316 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.7247, allocations: 0 / 0.7316 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.7247, allocations: 3.984 kB / 0.7316 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.7247, allocations: 0 / 0.7316 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.7247, allocations: 7.984 kB / 0.7316 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.7248, allocations: 73.12 kB / 0.7316 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.7248, allocations: 81.06 kB / 0.7317 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.7249, allocations: 4.031 kB / 0.7317 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.725, allocations: 7.984 kB / 0.7317 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.725, allocations: 0 / 0.7317 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.725, allocations: 4 kB / 0.7317 GB, free: 7.289 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.725, allocations: 79.22 kB / 0.7318 GB, free: 7.211 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7251, allocations: 0 / 0.7318 GB, free: 7.211 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002737/0.7253, allocations: 59.92 kB / 0.7319 GB, free: 7.152 MB / 0.545 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.0007032/0.726, allocations: 304.1 kB / 0.7322 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.27e-05/0.7261, allocations: 23.92 kB / 0.7322 GB, free: 6.879 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7262, allocations: 0 / 0.7322 GB, free: 6.879 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.7262, allocations: 8 kB / 0.7322 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.7263, allocations: 2.625 kB / 0.7322 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.7267, allocations: 115 kB / 0.7323 GB, free: 6.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.727, allocations: 0.677 MB / 0.733 GB, free: 6.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.7272, allocations: 23.91 kB / 0.733 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.7272, allocations: 19.42 kB / 0.733 GB, free: 5.984 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.7272, allocations: 0 / 0.733 GB, free: 5.984 MB / 0.545 GB Notification: Performance of Templates: time 0.004109/0.7313, allocations: 1.513 MB / 0.7345 GB, free: 4.504 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: