Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.141/5.141, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 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.002525/0.002525, allocations: 356.7 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.161/4.161, allocations: 410.7 MB / 1.113 GB, free: 6.016 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.001909/0.001909, allocations: 179.5 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004793, allocations: 8 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7346/0.7351, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.9305, allocations: 139.6 MB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.9309, allocations: 93.95 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01703/0.9479, allocations: 4.778 MB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.535e-06/0.948, allocations: 0.875 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.948, allocations: 0 / 1.602 GB, free: 139.7 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.0003777/0.9484, allocations: 381.4 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.9484, allocations: 15.62 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.9485, allocations: 0 / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.95e-05/0.9486, allocations: 171 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.9486, allocations: 5.516 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.9486, allocations: 0 / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.9488, allocations: 43.31 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.9488, allocations: 0 / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.9488, allocations: 0 / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.9488, allocations: 0.6875 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.9489, allocations: 8 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.9491, allocations: 160.2 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.821e-05/0.9492, allocations: 36.17 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.9492, allocations: 8.922 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.9492, allocations: 7.984 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.9493, allocations: 36.22 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.9493, allocations: 0 / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.000194/0.9495, allocations: 50.56 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.9495, allocations: 55.41 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.011e-05/0.9496, allocations: 107 kB / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.9496, allocations: 25.7 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/0.9496, allocations: 85.3 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.9497, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.9497, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.9498, allocations: 319.5 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.9498, allocations: 4.875 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.9498, allocations: 12.73 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.9499, allocations: 7.938 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9499, allocations: 0.5 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001065/0.95, allocations: 54.34 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.95, allocations: 9.25 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.9501, allocations: 3.984 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.9501, allocations: 3.938 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.9501, allocations: 4 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.9501, allocations: 0.5 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.803e-05/0.9501, allocations: 1.906 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.9502, allocations: 4 kB / 1.604 GB, free: 137.9 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 6.754e-05/0.9503, allocations: 117.2 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.9503, allocations: 1.094 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.9505, allocations: 77.58 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.9505, allocations: 1.156 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9505, allocations: 4 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.9505, allocations: 0 / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.323e-05/0.9506, allocations: 156.5 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.9507, allocations: 3.984 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-06/0.9507, allocations: 5.312 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.9507, allocations: 4 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.9507, allocations: 0 / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.9507, allocations: 0 / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.9507, allocations: 0 / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.09e-05/0.9508, allocations: 74.2 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.9508, allocations: 81.73 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.9509, allocations: 4 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.951, allocations: 5.359 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.951, allocations: 0 / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.951, allocations: 4 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.9511, allocations: 84.47 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9511, allocations: 0 / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000401/0.9515, allocations: 75.91 kB / 1.605 GB, free: 137.1 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.0007545/0.9523, allocations: 304.1 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.9524, allocations: 72.42 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9524, allocations: 7.938 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.794e-05/0.9525, allocations: 30.67 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.9527, allocations: 11.88 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.9534, allocations: 227.7 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.9535, allocations: 0.677 MB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.857e-05/0.9536, allocations: 5.656 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.214e-05/0.9536, allocations: 15.42 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.9536, allocations: 0 / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.005117/0.9587, allocations: 1.692 MB / 1.608 GB, free: 134.3 MB / 0.8542 GB