Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.385/2.385, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 192.5 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.451/2.451, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009608/0.0009605, allocations: 88.55 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004799, allocations: 10.91 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2128, allocations: 106.3 MB / 0.899 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008761/0.2138, allocations: 277.3 kB / 0.8993 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.2154, allocations: 1.055 MB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.2155, allocations: 0 / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.2156, allocations: 7.984 kB / 0.9003 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.82e-05/0.2157, allocations: 7.922 kB / 0.9004 GB, free: 64.05 MB / 0.6042 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.2162, allocations: 143.7 kB / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.941e-05/0.2163, allocations: 11.98 kB / 0.9005 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.2163, allocations: 4 kB / 0.9005 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.631e-05/0.2163, allocations: 11.98 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.2164, allocations: 7.938 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.2164, allocations: 0 / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.2168, allocations: 167.7 kB / 0.9007 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.2169, allocations: 11.98 kB / 0.9007 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.2169, allocations: 25.7 kB / 0.9007 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.2172, allocations: 131.8 kB / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2172, allocations: 0 / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2172, allocations: 0 / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.2172, allocations: 0 / 0.9008 GB, free: 63.54 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.0003184/0.2175, allocations: 367.4 kB / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2176, allocations: 12.03 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.2176, allocations: 4.875 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.2177, allocations: 168.3 kB / 0.9014 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2178, allocations: 4.375 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.2178, allocations: 384 / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.2179, allocations: 49.78 kB / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2179, allocations: 0 / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.218, allocations: 4 kB / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/0.218, allocations: 4 kB / 0.9014 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.2181, allocations: 7.984 kB / 0.9014 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.2182, allocations: 153.7 kB / 0.9016 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.316e-05/0.2183, allocations: 30.55 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.2184, allocations: 16.91 kB / 0.9016 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.2184, allocations: 0 / 0.9016 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.2184, allocations: 42.5 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.2184, allocations: 0 / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001973/0.2186, allocations: 49.69 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.2187, allocations: 55.39 kB / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.2188, allocations: 97.86 kB / 0.9019 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.2188, allocations: 25.7 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.045e-05/0.2188, allocations: 80.39 kB / 0.902 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.2189, allocations: 11.84 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.2189, allocations: 4 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.2189, allocations: 310.8 kB / 0.9023 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.919e-05/0.219, allocations: 11.98 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/0.219, allocations: 4 kB / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.723e-05/0.2191, allocations: 11.98 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2191, allocations: 0 / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.2192, allocations: 53.61 kB / 0.9024 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2192, allocations: 8.094 kB / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2192, allocations: 4 kB / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2193, allocations: 0 / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.2193, allocations: 0 / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2193, allocations: 0 / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/0.2193, allocations: 0 / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.2193, allocations: 4 kB / 0.9024 GB, free: 61.77 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 7.311e-05/0.2194, allocations: 113.8 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.2194, allocations: 19.72 kB / 0.9025 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.48e-05/0.2195, allocations: 7.125 kB / 0.9025 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.2195, allocations: 0 / 0.9025 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2195, allocations: 4 kB / 0.9025 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2195, allocations: 3.938 kB / 0.9025 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.2196, allocations: 154 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2197, allocations: 0 / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.2197, allocations: 3.938 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2197, allocations: 0 / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.2197, allocations: 0 / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2197, allocations: 0 / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2197, allocations: 4 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.2198, allocations: 77.11 kB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.2199, allocations: 84.98 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2199, allocations: 4 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.22, allocations: 0 / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.2201, allocations: 3.984 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.2201, allocations: 4 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.926e-05/0.2201, allocations: 83.31 kB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2201, allocations: 7.938 kB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003938/0.2205, allocations: 63.97 kB / 0.903 GB, free: 61.04 MB / 0.6042 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.0007904/0.2213, allocations: 297.1 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.2215, allocations: 15.98 kB / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2215, allocations: 4.062 kB / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.213e-05/0.2215, allocations: 8 kB / 0.9033 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.2217, allocations: 7.938 kB / 0.9033 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.2222, allocations: 110.7 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2224, allocations: 0.677 MB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.2225, allocations: 23.98 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.2226, allocations: 19.42 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/0.2226, allocations: 0 / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.005245/0.2279, allocations: 1.498 MB / 0.9056 GB, free: 58.39 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)