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.535/1.535, allocations: 249.5 MB / 257 MB, free: 6.914 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.001039/0.001039, allocations: 186.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008326/0.0008326, allocations: 85.92 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.412e-05/1.416e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2243, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7521/0.9765, allocations: 133.7 MB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.9768, allocations: 95.48 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01134/0.9882, allocations: 4.496 MB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9882, allocations: 0 / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.9883, allocations: 4 kB / 1.02 GB, free: 436 kB / 0.6355 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.0004638/0.9887, allocations: 371.9 kB / 1.021 GB, free: 24 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.9888, allocations: 12.03 kB / 1.021 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.9888, allocations: 0 / 1.021 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.989, allocations: 170.5 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.989, allocations: 4 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.989, allocations: 0 / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.73e-05/0.9891, allocations: 4 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.033e-05/0.9892, allocations: 45.61 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.9892, allocations: 0 / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.9892, allocations: 0 / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.9892, allocations: 4 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.9894, allocations: 137.8 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.9895, allocations: 26.59 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.9895, allocations: 12.92 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.9896, allocations: 0 / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.9896, allocations: 41.86 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.9896, allocations: 0 / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0002105/0.9898, allocations: 53.62 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.9899, allocations: 51.41 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.834e-05/0.9899, allocations: 92.62 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.99, allocations: 25.7 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.99, allocations: 80.14 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.99, allocations: 11.89 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.99, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.9902, allocations: 314.8 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.9902, allocations: 11.84 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.187e-05/0.9902, allocations: 7.938 kB / 1.022 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.457e-05/0.9903, allocations: 15.98 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9903, allocations: 0 / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.516e-05/0.9904, allocations: 49.67 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.9904, allocations: 8 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.9904, allocations: 0 / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.9904, allocations: 4 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.9904, allocations: 0 / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.9904, allocations: 4.094 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.9905, allocations: 0 / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.9905, allocations: 4 kB / 1.022 GB, free: 14.72 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 6.918e-05/0.9906, allocations: 108.9 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.9906, allocations: 3.906 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.9908, allocations: 77.97 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.9908, allocations: 4 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.9908, allocations: 0 / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.9908, allocations: 4.031 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.522e-05/0.9909, allocations: 134.2 kB / 1.022 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9909, allocations: 0 / 1.022 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-06/0.9909, allocations: 3.953 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.9909, allocations: 4 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.9909, allocations: 4 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.9909, allocations: 0 / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9909, allocations: 0 / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.991, allocations: 72.56 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.9911, allocations: 85.09 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.9911, allocations: 3.953 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.35e-05/0.9912, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.9912, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.9912, allocations: 4 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.9913, allocations: 87.02 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9913, allocations: 0 / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002759/0.9915, allocations: 71.59 kB / 1.022 GB, free: 13.99 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.0007281/0.9923, allocations: 303.5 kB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.9924, allocations: 79.33 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9924, allocations: 0 / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/0.9925, allocations: 33.2 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.9926, allocations: 7.922 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.9931, allocations: 190.3 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.9934, allocations: 0.6768 MB / 1.024 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.377e-05/0.9934, allocations: 4.125 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-06/0.9935, allocations: 11.44 kB / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of SimCode: time 1.773e-06/0.9935, allocations: 0 / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of Templates: time 0.004435/0.9979, allocations: 1.689 MB / 1.025 GB, free: 11.04 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)