Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 191.1 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 68.61 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3644, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001849/0.3663, allocations: 0.591 MB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.3679, allocations: 1.126 MB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.414e-05/0.3679, allocations: 0 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.591e-05/0.368, allocations: 3.938 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.912e-05/0.3681, allocations: 3.984 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.3685, allocations: 139.7 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.084e-05/0.3686, allocations: 15.98 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.3686, allocations: 0 / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.618e-05/0.3687, allocations: 11.92 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.3687, allocations: 12 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3687, allocations: 4 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.3691, allocations: 179.6 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.3691, allocations: 4 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.3692, allocations: 7.938 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.3695, allocations: 191.7 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3695, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.92e-07/0.3695, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.3695, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004003/0.3699, allocations: 363.5 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3699, allocations: 16.03 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.37, allocations: 80.16 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3701, allocations: 243.9 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/0.3702, allocations: 158.9 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-05/0.3703, allocations: 154.9 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.023e-05/0.3704, allocations: 109.1 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.3704, allocations: 79.28 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.3705, allocations: 154.5 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.497e-05/0.3705, allocations: 150.6 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.401e-05/0.3706, allocations: 158.5 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.3709, allocations: 449.8 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.155e-05/0.371, allocations: 173.1 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.371, allocations: 84.14 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.371, allocations: 75.28 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.3711, allocations: 109.8 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.3711, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.486e-05/0.3712, allocations: 37.64 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.3712, allocations: 126.7 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3713, allocations: 101.8 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3714, allocations: 25.7 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.3714, allocations: 84.14 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.3714, allocations: 0 / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.3715, allocations: 13.72 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3716, allocations: 326.8 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.3716, allocations: 4 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.796e-05/0.3717, allocations: 11.98 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/0.3717, allocations: 24.8 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3717, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001312/0.3719, allocations: 53.61 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3719, allocations: 4 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3719, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3719, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.3719, allocations: 8.125 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3719, allocations: 3.984 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.241e-05/0.372, allocations: 7.922 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.3721, allocations: 4 kB / 1.073 GB, free: 5.055 MB / 0.8262 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: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.3722, allocations: 189.1 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.3722, allocations: 112.9 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.3723, allocations: 107.9 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.647e-05/0.3724, allocations: 180.3 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.479e-05/0.3724, allocations: 184.2 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-05/0.3725, allocations: 184.3 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.3727, allocations: 401.2 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.689e-05/0.3728, allocations: 105 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.3728, allocations: 112.9 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.3e-05/0.3729, allocations: 184.1 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.852e-05/0.373, allocations: 184.3 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.507e-05/0.3731, allocations: 184.2 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.366e-05/0.3731, allocations: 176.3 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.3733, allocations: 315.7 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.3734, allocations: 182 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/0.3734, allocations: 184.2 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.3735, allocations: 105 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.3736, allocations: 180.2 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.3736, allocations: 105 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.3737, allocations: 83.28 kB / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3737, allocations: 0 / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005597/0.3743, allocations: 59.92 kB / 1.076 GB, free: 1.387 MB / 0.8262 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006988/0.375, allocations: 386.2 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.276e-05/0.3751, allocations: 11.98 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3751, allocations: 0 / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.009e-06/0.3751, allocations: 7.938 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3755, allocations: 0.5263 MB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.3757, allocations: 170.2 kB / 1.077 GB, free: 324 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.376, allocations: 0.6731 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.975e-05/0.3761, allocations: 11.92 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.3761, allocations: 15.44 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3761, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.003808/0.38, allocations: 1.505 MB / 1.08 GB, free: 14.12 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)