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.383/1.383, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001234/0.001234, allocations: 182.6 kB / 326.5 MB, free: 2.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.898/1.898, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009673/0.0009673, allocations: 95.67 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 8.094 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2491, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.4273, allocations: 133.5 MB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.4276, allocations: 95.92 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0118/0.4394, allocations: 4.784 MB / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4395, allocations: 0 / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4395, allocations: 0 / 1.035 GB, free: 5.312 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.0003668/0.4399, allocations: 383.1 kB / 1.036 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4399, allocations: 8.031 kB / 1.036 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.44, allocations: 7.984 kB / 1.036 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.4401, allocations: 163 kB / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4401, allocations: 0 / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.4401, allocations: 4 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.4403, allocations: 41.69 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4403, allocations: 3.938 kB / 1.036 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.4403, allocations: 8 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.4404, allocations: 3.984 kB / 1.036 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.115e-05/0.4404, allocations: 7.984 kB / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.4406, allocations: 157.6 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.309e-05/0.4407, allocations: 30.61 kB / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.4407, allocations: 8.047 kB / 1.036 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.4408, allocations: 34.5 kB / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4408, allocations: 0 / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000167/0.4409, allocations: 57.62 kB / 1.036 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.441, allocations: 55.41 kB / 1.036 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/0.441, allocations: 85.12 kB / 1.036 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.4411, allocations: 29.83 kB / 1.036 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.4411, allocations: 92.12 kB / 1.036 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.4411, allocations: 3.906 kB / 1.036 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.4412, allocations: 0 / 1.036 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4413, allocations: 314.8 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.4413, allocations: 4 kB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.693e-05/0.4413, allocations: 11.98 kB / 1.037 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.4414, allocations: 8 kB / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4414, allocations: 4.062 kB / 1.037 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.18e-05/0.4415, allocations: 49.62 kB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4415, allocations: 8 kB / 1.037 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.4415, allocations: 3.984 kB / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4415, allocations: 0 / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.505e-06/0.4415, allocations: 4 kB / 1.037 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4415, allocations: 3.938 kB / 1.037 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.4416, allocations: 0 / 1.037 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.4416, allocations: 4 kB / 1.037 GB, free: 3.535 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 8.052e-05/0.4417, allocations: 117.8 kB / 1.037 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.4417, allocations: 3.906 kB / 1.037 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.4418, allocations: 73.53 kB / 1.037 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4418, allocations: 0 / 1.037 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4419, allocations: 0 / 1.037 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4419, allocations: 4 kB / 1.037 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.442, allocations: 157.6 kB / 1.037 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.442, allocations: 0 / 1.037 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.442, allocations: 0 / 1.037 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.442, allocations: 4.031 kB / 1.037 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.4421, allocations: 7.984 kB / 1.037 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.4421, allocations: 0 / 1.037 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4421, allocations: 0 / 1.037 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.489e-05/0.4422, allocations: 65.08 kB / 1.037 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.4422, allocations: 81.11 kB / 1.037 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.4422, allocations: 0 / 1.037 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.815e-05/0.4423, allocations: 4 kB / 1.037 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.4423, allocations: 8.016 kB / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.4423, allocations: 4 kB / 1.037 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.816e-05/0.4424, allocations: 79.28 kB / 1.037 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4424, allocations: 7.875 kB / 1.037 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002728/0.4427, allocations: 71.91 kB / 1.037 GB, free: 2.758 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.0006541/0.4433, allocations: 325.8 kB / 1.038 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.4435, allocations: 67.39 kB / 1.038 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4435, allocations: 0 / 1.038 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.744e-05/0.4435, allocations: 33.7 kB / 1.038 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.4436, allocations: 3.938 kB / 1.038 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.4442, allocations: 250.8 kB / 1.038 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.4444, allocations: 0.677 MB / 1.039 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.938e-05/0.4445, allocations: 4 kB / 1.039 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.4445, allocations: 7.438 kB / 1.039 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.4445, allocations: 0 / 1.039 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of Templates: time 0.003859/0.4484, allocations: 1.689 MB / 1.04 GB, free: 15.73 MB / 0.698 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)