Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.764/1.764, allocations: 288.3 MB / 303.2 MB, free: 8.105 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.001093/0.001093, allocations: 191.6 kB / 371.9 MB, free: 10.28 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.8/1.8, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0009336/0.0009336, allocations: 103.4 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004023, allocations: 10.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2692, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0007165/0.27, allocations: 266.2 kB / 0.9797 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2712, allocations: 1.067 MB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.2713, allocations: 0 / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.2714, allocations: 3.984 kB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.914e-05/0.2714, allocations: 4 kB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.2718, allocations: 147.5 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.2719, allocations: 7.984 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.272, allocations: 0 / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.771e-05/0.272, allocations: 7.984 kB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.2721, allocations: 16 kB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.2721, allocations: 0 / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.2724, allocations: 143.7 kB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.2724, allocations: 7.938 kB / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.2725, allocations: 29.69 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.2726, allocations: 131.8 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2727, allocations: 0 / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2727, allocations: 0 / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.2727, allocations: 0 / 0.9812 GB, free: 25.86 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.0003064/0.273, allocations: 360.9 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.273, allocations: 16.02 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.2731, allocations: 4 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.2732, allocations: 171 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.2732, allocations: 0 / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.2732, allocations: 0 / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.2734, allocations: 41.69 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.2734, allocations: 3.938 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2734, allocations: 4 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.2734, allocations: 0 / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.715e-05/0.2735, allocations: 11.98 kB / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.2736, allocations: 157.8 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.337e-05/0.2737, allocations: 34.56 kB / 0.982 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.2737, allocations: 0 / 0.982 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.2738, allocations: 34.62 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.2738, allocations: 3.938 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.2739, allocations: 65.61 kB / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.274, allocations: 51.41 kB / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.2741, allocations: 101.7 kB / 0.9822 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.2741, allocations: 25.7 kB / 0.9822 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.47e-05/0.2741, allocations: 80.14 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.2741, allocations: 7.891 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.2741, allocations: 0 / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.2742, allocations: 319.1 kB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.2742, allocations: 8 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.2742, allocations: 7.984 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.214e-05/0.2743, allocations: 11.95 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2743, allocations: 0 / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.423e-05/0.2743, allocations: 53.62 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2744, allocations: 4 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2744, allocations: 0 / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2744, allocations: 4 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.2744, allocations: 0 / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2744, allocations: 8.078 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.2744, allocations: 0 / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2745, allocations: 0 / 0.9827 GB, free: 24.09 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.202e-05/0.2745, allocations: 117.8 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.2745, allocations: 0 / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.116e-05/0.2746, allocations: 7.125 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.2746, allocations: 0 / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2746, allocations: 0 / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2746, allocations: 3.984 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.28e-05/0.2747, allocations: 153.7 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2747, allocations: 11.94 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.2747, allocations: 0 / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2747, allocations: 0 / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2747, allocations: 0 / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2747, allocations: 0 / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2747, allocations: 0 / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.471e-05/0.2748, allocations: 77.06 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.2749, allocations: 92.98 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.2749, allocations: 0 / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.275, allocations: 4 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.275, allocations: 8 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.275, allocations: 7.938 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.803e-05/0.275, allocations: 75.28 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.275, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002641/0.2753, allocations: 67.91 kB / 0.9833 GB, free: 23.38 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.0006116/0.2759, allocations: 296.7 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.347e-05/0.276, allocations: 15.98 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.276, allocations: 3.938 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.276, allocations: 15.98 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.2762, allocations: 128 / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.2765, allocations: 110.7 kB / 0.9837 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.2766, allocations: 0.6731 MB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.2767, allocations: 15.98 kB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.2768, allocations: 19.42 kB / 0.9844 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2768, allocations: 0 / 0.9844 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of Templates: time 0.003405/0.2802, allocations: 1.528 MB / 0.9859 GB, free: 20.75 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)