Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.053/2.053, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001092, allocations: 201 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 0.7948 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009378/0.0009377, allocations: 102.2 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009724/0.0009725, allocations: 55.02 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2293, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001576/0.2309, allocations: 0.5985 MB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2321, allocations: 1.11 MB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.488e-05/0.2321, allocations: 3.938 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 8.098e-05/0.2322, allocations: 11.94 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.612e-05/0.2323, allocations: 7.922 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.2326, allocations: 136.9 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.596e-05/0.2327, allocations: 11.98 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.2327, allocations: 8 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.2327, allocations: 11.98 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.623e-05/0.2328, allocations: 4 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.2328, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.2331, allocations: 179.7 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.2331, allocations: 11.88 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.2332, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.2334, allocations: 187.7 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2334, allocations: 4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.01e-07/0.2334, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.2334, allocations: 4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002871/0.2337, allocations: 367.5 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.2338, allocations: 11.98 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.2338, allocations: 84.22 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.485e-05/0.2339, allocations: 249.6 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.2339, allocations: 150.9 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.234, allocations: 154.9 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.027e-05/0.234, allocations: 109.1 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.234, allocations: 79.27 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.2341, allocations: 150.6 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.2341, allocations: 150.6 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.2341, allocations: 158.5 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.2343, allocations: 457.9 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.288e-05/0.2343, allocations: 169.1 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.2344, allocations: 80.14 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.2344, allocations: 79.28 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.2344, allocations: 113.8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2344, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 6.847e-05/0.2345, allocations: 29.64 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.2345, allocations: 126.7 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.2346, allocations: 105.8 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.2346, allocations: 25.7 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.259e-05/0.2346, allocations: 80.14 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.2346, allocations: 3.938 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.2347, allocations: 25.72 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.2347, allocations: 314.8 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.2347, allocations: 4 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.258e-05/0.2348, allocations: 15.92 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.2348, allocations: 20.86 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2348, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001001/0.2349, allocations: 65.53 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.2349, allocations: 8.125 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.235, allocations: 0 / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.235, allocations: 0 / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.235, allocations: 0 / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.235, allocations: 0 / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.084e-05/0.2351, allocations: 4 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.2351, allocations: 11.98 kB / 1.224 GB, free: 111.4 MB / 0.823 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.202e-05/0.2351, allocations: 189.8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.2352, allocations: 116.8 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.2352, allocations: 108.1 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.2352, allocations: 176.3 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/0.2353, allocations: 184.2 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/0.2353, allocations: 180.2 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.2354, allocations: 401.2 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.2354, allocations: 105 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-05/0.2354, allocations: 116.9 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.408e-05/0.2355, allocations: 180.2 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.2355, allocations: 176.3 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.281e-05/0.2355, allocations: 180.2 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.343e-05/0.2355, allocations: 188.3 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.2357, allocations: 0.8415 MB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.2357, allocations: 186 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.2358, allocations: 176.3 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5e-05/0.2358, allocations: 108.9 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.2359, allocations: 180.3 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.2359, allocations: 105.2 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.193e-05/0.2359, allocations: 87.25 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.072e-06/0.2359, allocations: 0 / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003613/0.2363, allocations: 71.8 kB / 1.227 GB, free: 107.1 MB / 0.823 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0005026/0.2368, allocations: 386.4 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.584e-05/0.2369, allocations: 8.344 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2369, allocations: 0 / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/0.2369, allocations: 4.062 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.2371, allocations: 0.5239 MB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001596/0.2373, allocations: 158 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.2374, allocations: 0.6808 MB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.081e-05/0.2375, allocations: 11.94 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.2375, allocations: 15.42 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.2375, allocations: 3.938 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of Templates: time 0.002796/0.2403, allocations: 1.501 MB / 1.231 GB, free: 103.9 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)