Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 297.4 MB / 312.6 MB, free: 2.945 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 196.7 kB / 382.3 MB, free: 14.85 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 225.7 MB / 0.6617 GB, free: 7.242 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009411/0.0009415, allocations: 97.61 kB / 0.7789 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004648, allocations: 8 kB / 0.9059 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.847/0.8475, allocations: 119.2 MB / 1.022 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0009469/0.8485, allocations: 269.8 kB / 1.023 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.8502, allocations: 1.469 MB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/0.8502, allocations: 0.875 kB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.8503, allocations: 7.438 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.8504, allocations: 9.266 kB / 1.024 GB, free: 56.93 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.8508, allocations: 144.1 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.218e-05/0.8509, allocations: 14.48 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.8509, allocations: 1.062 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.703e-05/0.851, allocations: 15.3 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.851, allocations: 4.797 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.851, allocations: 6.531 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.8514, allocations: 165 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.79e-05/0.8515, allocations: 5.625 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.8515, allocations: 33 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.8518, allocations: 194.4 kB / 1.025 GB, free: 56.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.8519, allocations: 0 / 1.025 GB, free: 56.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8519, allocations: 0 / 1.025 GB, free: 56.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.8519, allocations: 1.344 kB / 1.025 GB, free: 56.75 MB / 0.698 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.0003493/0.8522, allocations: 359.7 kB / 1.025 GB, free: 56.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.8523, allocations: 9.656 kB / 1.025 GB, free: 56.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.8523, allocations: 5.062 kB / 1.025 GB, free: 56.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.8524, allocations: 164.5 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.8525, allocations: 5.844 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.8525, allocations: 3.891 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.8526, allocations: 47.88 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.8526, allocations: 2.156 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.8526, allocations: 0.6094 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.8527, allocations: 2.891 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.684e-05/0.8527, allocations: 10.86 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.8528, allocations: 153.5 kB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.461e-05/0.8529, allocations: 30.77 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.8529, allocations: 14.88 kB / 1.025 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.853, allocations: 5 kB / 1.025 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.853, allocations: 41.25 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.853, allocations: 0 / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001641/0.8532, allocations: 53.67 kB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.8532, allocations: 56.11 kB / 1.025 GB, free: 55.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.119e-05/0.8532, allocations: 94.72 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.8533, allocations: 26.64 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/0.8533, allocations: 85.52 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.8533, allocations: 13.06 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.8533, allocations: 1.375 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.8534, allocations: 311.5 kB / 1.026 GB, free: 55.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.8534, allocations: 8.828 kB / 1.026 GB, free: 55.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.8534, allocations: 9.438 kB / 1.026 GB, free: 55.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.8535, allocations: 24.66 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.8535, allocations: 0 / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.524e-05/0.8536, allocations: 53.92 kB / 1.026 GB, free: 55.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.8536, allocations: 5.875 kB / 1.026 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.8536, allocations: 0 / 1.026 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.8536, allocations: 0 / 1.026 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.8536, allocations: 4.688 kB / 1.026 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.8536, allocations: 4.688 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.8537, allocations: 2.359 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.8537, allocations: 3.641 kB / 1.026 GB, free: 55.16 MB / 0.698 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 6.087e-05/0.8537, allocations: 119.2 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.8538, allocations: 6.594 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.544e-05/0.8538, allocations: 11.44 kB / 1.026 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.8538, allocations: 3.125 kB / 1.026 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8538, allocations: 0 / 1.026 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.8538, allocations: 4.5 kB / 1.026 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.8539, allocations: 149.7 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.8539, allocations: 1.641 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-06/0.8539, allocations: 4.75 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.8539, allocations: 1.281 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-06/0.854, allocations: 2.219 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.854, allocations: 2.625 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.854, allocations: 0 / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.8541, allocations: 75.66 kB / 1.026 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.8541, allocations: 87.17 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.8541, allocations: 3.938 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.8542, allocations: 3.703 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.8542, allocations: 3.938 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.8543, allocations: 2.062 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.8543, allocations: 90.84 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8543, allocations: 0 / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003262/0.8546, allocations: 56.92 kB / 1.027 GB, free: 54.57 MB / 0.698 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.0007131/0.8553, allocations: 349.8 kB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.512e-05/0.8554, allocations: 19.39 kB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8555, allocations: 0 / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.8555, allocations: 9 kB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.8556, allocations: 14.12 kB / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.856, allocations: 102.5 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.8562, allocations: 0.6754 MB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.8563, allocations: 24.52 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.8563, allocations: 23.58 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.8563, allocations: 0 / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of Templates: time 0.003958/0.8603, allocations: 1.53 MB / 1.029 GB, free: 53.43 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)