Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.076/5.076, allocations: 0.5623 GB / 0.5775 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002587/0.002586, allocations: 356.3 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.476/4.476, allocations: 410.7 MB / 1.113 GB, free: 5.883 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001822/0.001822, allocations: 180.4 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004947, allocations: 12 kB / 1.349 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7261/0.7266, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.217/0.9437, allocations: 139.4 MB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004038/0.9442, allocations: 92.88 kB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02337/0.9676, allocations: 4.632 MB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.514e-06/0.9676, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.9676, allocations: 0.5 kB / 1.602 GB, free: 140.1 MB / 0.8542 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.000451/0.9681, allocations: 377.4 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.9682, allocations: 15.61 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.9682, allocations: 0 / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.9683, allocations: 163 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.9684, allocations: 8.875 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.9684, allocations: 3.938 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.9686, allocations: 43.31 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.9686, allocations: 0 / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.9686, allocations: 0 / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.9687, allocations: 4.516 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.9687, allocations: 8.672 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.9689, allocations: 158.5 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.654e-05/0.9691, allocations: 31.61 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.9691, allocations: 14.78 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.9692, allocations: 5.188 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.9692, allocations: 35.22 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.9692, allocations: 0 / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002343/0.9695, allocations: 54.27 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.9695, allocations: 57.56 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.738e-05/0.9696, allocations: 97.77 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.9696, allocations: 25.7 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.9697, allocations: 85.02 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.9697, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.9697, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.9698, allocations: 323.4 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.9699, allocations: 9.172 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/0.9699, allocations: 8 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.825e-05/0.97, allocations: 8.766 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.97, allocations: 0 / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001502/0.9702, allocations: 59.84 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.9702, allocations: 8 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.9702, allocations: 0 / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.9703, allocations: 4 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-06/0.9703, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.9703, allocations: 0.6875 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.976e-05/0.9703, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.9704, allocations: 9.594 kB / 1.604 GB, free: 138.3 MB / 0.8542 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.13e-05/0.9705, allocations: 113.8 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.9705, allocations: 4 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.9708, allocations: 74.61 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.9708, allocations: 4.531 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.9708, allocations: 3.938 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9708, allocations: 0.625 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.971, allocations: 156.8 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.971, allocations: 0 / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-06/0.971, allocations: 0 / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.971, allocations: 4 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.9711, allocations: 0 / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9711, allocations: 0 / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9711, allocations: 0 / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.9712, allocations: 74.27 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.9713, allocations: 85.89 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.9713, allocations: 4.656 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.9714, allocations: 0 / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.9715, allocations: 2.344 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.9715, allocations: 4 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.355e-05/0.9716, allocations: 87.27 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9716, allocations: 0 / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006248/0.9722, allocations: 75.84 kB / 1.604 GB, free: 137.6 MB / 0.8542 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.001007/0.9732, allocations: 305.7 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001717/0.9734, allocations: 71.89 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9735, allocations: 0.9688 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.955e-05/0.9735, allocations: 41.62 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.9738, allocations: 6.625 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.9749, allocations: 219.1 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.975, allocations: 0.6824 MB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.152e-05/0.9751, allocations: 7.984 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.9751, allocations: 7.438 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.194e-06/0.9752, allocations: 1.469 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.006755/0.9819, allocations: 1.661 MB / 1.607 GB, free: 134.7 MB / 0.8542 GB