Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.56/1.56, allocations: 292.3 MB / 308.1 MB, free: 4.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 186.2 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008569/0.0008571, allocations: 100.3 kB / 0.748 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 52.16 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2071, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.001825/0.209, allocations: 0.6181 MB / 0.9828 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.2107, allocations: 1.128 MB / 0.9839 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.2107, allocations: 0 / 0.9839 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.2108, allocations: 8 kB / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.2109, allocations: 0 / 0.9839 GB, free: 8.633 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.0004773/0.2114, allocations: 135.7 kB / 0.9841 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.992e-05/0.2114, allocations: 16 kB / 0.9841 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.2115, allocations: 3.984 kB / 0.9841 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.325e-05/0.2115, allocations: 7.984 kB / 0.9841 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.2116, allocations: 15.88 kB / 0.9841 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.2116, allocations: 4 kB / 0.9841 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.2119, allocations: 179.7 kB / 0.9843 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.201e-05/0.212, allocations: 3.984 kB / 0.9843 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.212, allocations: 8 kB / 0.9843 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.2123, allocations: 195.6 kB / 0.9845 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2123, allocations: 0 / 0.9845 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2123, allocations: 0 / 0.9845 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2123, allocations: 0 / 0.9845 GB, free: 8.074 MB / 0.7136 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.0003885/0.2127, allocations: 374.1 kB / 0.9848 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2128, allocations: 8.031 kB / 0.9848 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.2128, allocations: 8.844 kB / 0.9848 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2129, allocations: 160.4 kB / 0.985 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.213, allocations: 384 / 0.985 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.213, allocations: 384 / 0.985 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.2131, allocations: 49.8 kB / 0.985 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.2131, allocations: 0 / 0.985 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2131, allocations: 0 / 0.985 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.2132, allocations: 0 / 0.985 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.129e-05/0.2132, allocations: 19.94 kB / 0.9851 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.2134, allocations: 153.9 kB / 0.9852 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.214e-05/0.2135, allocations: 30.59 kB / 0.9852 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.2135, allocations: 12.92 kB / 0.9853 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.2135, allocations: 0 / 0.9853 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.2135, allocations: 38.48 kB / 0.9853 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2135, allocations: 4 kB / 0.9853 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.00016/0.2137, allocations: 61.62 kB / 0.9854 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.2137, allocations: 55.34 kB / 0.9854 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.799e-05/0.2138, allocations: 101.8 kB / 0.9855 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.2138, allocations: 25.7 kB / 0.9855 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.2139, allocations: 80.14 kB / 0.9856 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.2139, allocations: 3.906 kB / 0.9856 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.2139, allocations: 17.97 kB / 0.9856 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.214, allocations: 314.8 kB / 0.9859 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.214, allocations: 11.98 kB / 0.9859 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.41e-05/0.2141, allocations: 4 kB / 0.9859 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.2141, allocations: 24.84 kB / 0.986 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2141, allocations: 0 / 0.986 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.189e-05/0.2142, allocations: 53.56 kB / 0.986 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2142, allocations: 8 kB / 0.986 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2142, allocations: 4.094 kB / 0.986 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2143, allocations: 0 / 0.986 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.2143, allocations: 3.938 kB / 0.986 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.2143, allocations: 0 / 0.986 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.2143, allocations: 7.969 kB / 0.986 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.2143, allocations: 4 kB / 0.986 GB, free: 6.246 MB / 0.7136 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.962e-05/0.2144, allocations: 109.8 kB / 0.9861 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.2144, allocations: 7.938 kB / 0.9862 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.206e-06/0.2144, allocations: 3.125 kB / 0.9862 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.2144, allocations: 4 kB / 0.9862 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2144, allocations: 0 / 0.9862 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.2144, allocations: 4 kB / 0.9862 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.977e-05/0.2145, allocations: 157.6 kB / 0.9863 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2146, allocations: 0 / 0.9863 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-06/0.2146, allocations: 11.92 kB / 0.9863 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2146, allocations: 0 / 0.9863 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.2146, allocations: 0 / 0.9863 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2146, allocations: 4 kB / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2146, allocations: 0 / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.2149, allocations: 0.6318 MB / 0.987 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.2149, allocations: 77.11 kB / 0.987 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.215, allocations: 3.984 kB / 0.987 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.215, allocations: 7.938 kB / 0.987 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.2151, allocations: 3.938 kB / 0.987 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2151, allocations: 4 kB / 0.987 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.781e-05/0.2151, allocations: 79.31 kB / 0.9871 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2151, allocations: 0 / 0.9871 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003656/0.2155, allocations: 67.91 kB / 0.9872 GB, free: 4.945 MB / 0.7136 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.0005532/0.216, allocations: 293.6 kB / 0.9875 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.192e-05/0.2161, allocations: 23.97 kB / 0.9875 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2161, allocations: 0 / 0.9875 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-05/0.2162, allocations: 15.98 kB / 0.9875 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.2163, allocations: 0 / 0.9875 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.2167, allocations: 209.6 kB / 0.9877 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.2169, allocations: 0.6808 MB / 0.9884 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.217, allocations: 24.09 kB / 0.9884 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.2171, allocations: 19.42 kB / 0.9884 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.2171, allocations: 0 / 0.9884 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of Templates: time 0.003301/0.2204, allocations: 1.518 MB / 0.9899 GB, free: 2.133 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)