Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.847/2.847, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.00167/0.00167, allocations: 190.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001178, allocations: 85.73 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004871, allocations: 15.08 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2257, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008003/0.2265, allocations: 271 kB / 0.9785 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.2282, allocations: 1.063 MB / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.105e-05/0.2282, allocations: 0 / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.818e-05/0.2283, allocations: 8 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.169e-05/0.2284, allocations: 0 / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.2289, allocations: 143.6 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.468e-05/0.229, allocations: 4 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.229, allocations: 0 / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.496e-05/0.2291, allocations: 19.92 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.2291, allocations: 4 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.2291, allocations: 0 / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003662/0.2295, allocations: 143.7 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.2296, allocations: 11.98 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.2296, allocations: 25.7 kB / 0.9798 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.2299, allocations: 135.8 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2299, allocations: 0 / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2299, allocations: 0 / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.2299, allocations: 0 / 0.98 GB, free: 26.54 MB / 0.6198 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.0003023/0.2302, allocations: 359.3 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2303, allocations: 12.02 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.2303, allocations: 8 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.052e-05/0.2304, allocations: 171 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.2305, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.2305, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.2306, allocations: 45.67 kB / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2306, allocations: 7.938 kB / 0.9805 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2307, allocations: 0 / 0.9805 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.2307, allocations: 3.984 kB / 0.9806 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.486e-05/0.2307, allocations: 11.98 kB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.2309, allocations: 157.8 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.28e-05/0.231, allocations: 30.61 kB / 0.9807 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.231, allocations: 0 / 0.9807 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.231, allocations: 34.62 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.231, allocations: 3.938 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.2312, allocations: 61.61 kB / 0.9808 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.2313, allocations: 51.41 kB / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.09e-05/0.2313, allocations: 101.9 kB / 0.981 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.2314, allocations: 25.7 kB / 0.981 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.009e-05/0.2314, allocations: 80.14 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.2314, allocations: 15.83 kB / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.2315, allocations: 0 / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.2315, allocations: 318.8 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.2316, allocations: 4 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.2316, allocations: 7.984 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.2316, allocations: 12.19 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2316, allocations: 0 / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001018/0.2318, allocations: 53.62 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2318, allocations: 8 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2318, allocations: 0 / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2318, allocations: 0 / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-06/0.2318, allocations: 3.984 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2318, allocations: 0 / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.2319, allocations: 3.984 kB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.2319, allocations: 4 kB / 0.9815 GB, free: 24.76 MB / 0.6198 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 6.555e-05/0.232, allocations: 117.8 kB / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.232, allocations: 4 kB / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.02e-05/0.232, allocations: 3.125 kB / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.232, allocations: 0 / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2321, allocations: 3.984 kB / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2321, allocations: 0 / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.621e-05/0.2322, allocations: 157.6 kB / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2322, allocations: 0 / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-06/0.2322, allocations: 0 / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2322, allocations: 4 kB / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.2322, allocations: 0 / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2322, allocations: 0 / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2322, allocations: 4 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.2324, allocations: 73.06 kB / 0.9818 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.2324, allocations: 92.95 kB / 0.9819 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2324, allocations: 4 kB / 0.9819 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.2325, allocations: 4.031 kB / 0.9819 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.2326, allocations: 4 kB / 0.9819 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2326, allocations: 4 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.566e-05/0.2326, allocations: 83.27 kB / 0.982 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.363e-06/0.2326, allocations: 0 / 0.982 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003953/0.233, allocations: 71.84 kB / 0.9821 GB, free: 24.05 MB / 0.6198 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.0007571/0.2338, allocations: 294.8 kB / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.2339, allocations: 23.92 kB / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2339, allocations: 0 / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.234, allocations: 11.98 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.2341, allocations: 0 / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.2345, allocations: 108.1 kB / 0.9825 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.2346, allocations: 0.677 MB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.2347, allocations: 15.98 kB / 0.9832 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.2348, allocations: 23.42 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/0.2348, allocations: 0 / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.004965/0.2398, allocations: 1.52 MB / 0.9847 GB, free: 21.41 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)