Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.756/3.756, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002972/0.002971, allocations: 185.9 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.108/4.108, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 91.98 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007993/0.0007999, allocations: 13.25 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3592, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3582/0.7175, allocations: 133.3 MB / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005246/0.7181, allocations: 103.9 kB / 1.03 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0282/0.7463, allocations: 4.812 MB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.316e-06/0.7464, allocations: 0 / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.7464, allocations: 0 / 1.034 GB, free: 7.07 MB / 0.6823 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.0007793/0.7472, allocations: 383.4 kB / 1.035 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.656e-05/0.7473, allocations: 11.97 kB / 1.035 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.7474, allocations: 0.9375 kB / 1.035 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.7476, allocations: 168.4 kB / 1.035 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.7476, allocations: 384 / 1.035 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.7477, allocations: 384 / 1.035 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.7479, allocations: 46.19 kB / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.748, allocations: 192 / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.748, allocations: 7.938 kB / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.748, allocations: 4 kB / 1.035 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.746e-05/0.7481, allocations: 4 kB / 1.035 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.7485, allocations: 157.7 kB / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.7486, allocations: 26.59 kB / 1.035 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.7487, allocations: 12.92 kB / 1.035 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.7488, allocations: 7.922 kB / 1.035 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.7488, allocations: 42.5 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 3.667e-06/0.7489, allocations: 4 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003576/0.7492, allocations: 49.69 kB / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.7493, allocations: 55.41 kB / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.7495, allocations: 101.8 kB / 1.036 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.7495, allocations: 25.7 kB / 1.036 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.7496, allocations: 80.14 kB / 1.036 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.7496, allocations: 4.156 kB / 1.036 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/0.7497, allocations: 4 kB / 1.036 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.7499, allocations: 314.8 kB / 1.036 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/0.75, allocations: 8 kB / 1.036 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/0.75, allocations: 11.92 kB / 1.036 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.014e-05/0.7501, allocations: 8 kB / 1.036 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.7501, allocations: 0 / 1.036 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002097/0.7503, allocations: 49.69 kB / 1.036 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.7504, allocations: 7.938 kB / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.233e-05/0.7504, allocations: 12.08 kB / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.7505, allocations: 0 / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-06/0.7505, allocations: 0 / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7505, allocations: 0 / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.7506, allocations: 0 / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.7506, allocations: 4 kB / 1.036 GB, free: 5.273 MB / 0.6823 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001687/0.7508, allocations: 109.8 kB / 1.036 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.7508, allocations: 7.938 kB / 1.036 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.7512, allocations: 81.5 kB / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.7512, allocations: 0 / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.7512, allocations: 0 / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.7512, allocations: 0 / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.7515, allocations: 153.6 kB / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.7515, allocations: 4 kB / 1.036 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-06/0.7515, allocations: 3.984 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.7515, allocations: 3.938 kB / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.7516, allocations: 0 / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7516, allocations: 0 / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7516, allocations: 0 / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.7518, allocations: 73.09 kB / 1.036 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.7519, allocations: 85.05 kB / 1.037 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.7519, allocations: 4 kB / 1.037 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.7521, allocations: 0 / 1.037 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.7521, allocations: 7.984 kB / 1.037 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.7522, allocations: 4 kB / 1.037 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.073e-05/0.7523, allocations: 87.3 kB / 1.037 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.31e-07/0.7523, allocations: 0 / 1.037 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007717/0.7531, allocations: 75.91 kB / 1.037 GB, free: 4.484 MB / 0.6823 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001472/0.7546, allocations: 306.5 kB / 1.037 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.7549, allocations: 79.39 kB / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.7549, allocations: 0 / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.154e-05/0.755, allocations: 29.7 kB / 1.037 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.7553, allocations: 7.938 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.7566, allocations: 234.8 kB / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.7571, allocations: 0.6847 MB / 1.038 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.7572, allocations: 12.06 kB / 1.038 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.7572, allocations: 7.438 kB / 1.038 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of SimCode: time 1.383e-06/0.7572, allocations: 0 / 1.038 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of Templates: time 0.009203/0.7665, allocations: 1.678 MB / 1.04 GB, free: 1.465 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)