Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR2.1.|yR1.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR2.1.|yR1.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 249.3 MB / 261.8 MB, free: 5.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 168.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009423/0.0009426, allocations: 94.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.804e-05/2.807e-05, allocations: 0 / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.202, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7639/0.966, allocations: 133.4 MB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/0.9665, allocations: 99.47 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01582/0.9823, allocations: 4.592 MB / 1.027 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.858e-06/0.9824, allocations: 3.938 kB / 1.027 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.9824, allocations: 3.938 kB / 1.027 GB, free: 13.6 MB / 0.6511 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.0004543/0.9828, allocations: 366.1 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.9829, allocations: 12.03 kB / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.983, allocations: 0 / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.9831, allocations: 167 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.9832, allocations: 0 / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.9832, allocations: 7.938 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.9833, allocations: 44.94 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.9834, allocations: 3.938 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.9834, allocations: 4 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.9834, allocations: 0 / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.565e-05/0.9834, allocations: 8 kB / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.9837, allocations: 156.4 kB / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.592e-05/0.9838, allocations: 34.22 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.9838, allocations: 12.92 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.9839, allocations: 4 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.9839, allocations: 30.56 kB / 1.028 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 3.446e-06/0.9839, allocations: 0 / 1.028 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001694/0.9841, allocations: 53.12 kB / 1.028 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.9841, allocations: 51.41 kB / 1.028 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.9842, allocations: 97.02 kB / 1.028 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.9843, allocations: 28.95 kB / 1.028 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.9843, allocations: 80.14 kB / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.9843, allocations: 7.906 kB / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.9844, allocations: 0 / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.9845, allocations: 314.8 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.9845, allocations: 7.125 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/0.9846, allocations: 11.98 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.89e-05/0.9846, allocations: 8.188 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9846, allocations: 0 / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001096/0.9847, allocations: 53.12 kB / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.9848, allocations: 8 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.9848, allocations: 3.984 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.9848, allocations: 4 kB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.9848, allocations: 0 / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.9848, allocations: 0 / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.9849, allocations: 0 / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.9849, allocations: 4 kB / 1.028 GB, free: 11.87 MB / 0.6511 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 () * 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 8.959e-05/0.985, allocations: 112.9 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.985, allocations: 3.906 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.9852, allocations: 69.59 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.9852, allocations: 3.984 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9853, allocations: 3.938 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.9853, allocations: 0 / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.9854, allocations: 164.2 kB / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.9854, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.9855, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.9855, allocations: 4.031 kB / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.9855, allocations: 4 kB / 1.029 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.9855, allocations: 3.984 kB / 1.029 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.9855, allocations: 0 / 1.029 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.9856, allocations: 70.27 kB / 1.029 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.9857, allocations: 77.11 kB / 1.029 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.9857, allocations: 0 / 1.029 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/0.9858, allocations: 8.031 kB / 1.029 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.9858, allocations: 0 / 1.029 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.9858, allocations: 3.984 kB / 1.029 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.9859, allocations: 86.41 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9859, allocations: 3.938 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004643/0.9864, allocations: 70.41 kB / 1.029 GB, free: 11.11 MB / 0.6511 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 () * 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.0008986/0.9873, allocations: 315.5 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.9875, allocations: 67.39 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.9875, allocations: 4 kB / 1.029 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.014e-05/0.9875, allocations: 29.7 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.9877, allocations: 6.391 kB / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.9884, allocations: 192.1 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.9887, allocations: 0.6809 MB / 1.03 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.934e-05/0.9888, allocations: 7.984 kB / 1.03 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.9888, allocations: 7.438 kB / 1.03 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of SimCode: time 3.91e-07/0.9888, allocations: 0 / 1.03 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of Templates: time 0.005363/0.9942, allocations: 1.703 MB / 1.032 GB, free: 8.133 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)