Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001152/0.001152, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009537/0.009537, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 473.4 MB / 0.7469 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003704, allocations: 13.88 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3401, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008414/0.341, allocations: 266.2 kB / 1.074 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.3426, allocations: 1.115 MB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.466e-05/0.3426, allocations: 0 / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.693e-05/0.3427, allocations: 0 / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.393e-05/0.3428, allocations: 0 / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.3432, allocations: 147.7 kB / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.268e-05/0.3433, allocations: 15.92 kB / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.3433, allocations: 4 kB / 1.076 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.686e-05/0.3433, allocations: 4 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.3434, allocations: 15.92 kB / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.3434, allocations: 4 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.3438, allocations: 175.7 kB / 1.076 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.3438, allocations: 3.984 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.3439, allocations: 29.7 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.3442, allocations: 195.7 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3442, allocations: 3.938 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3442, allocations: 0 / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.3442, allocations: 3.938 kB / 1.076 GB, free: 5.602 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.0003726/0.3446, allocations: 355.6 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3446, allocations: 8.031 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.3447, allocations: 80.22 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.3449, allocations: 247.9 kB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.3449, allocations: 158.9 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.345, allocations: 158.9 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.318e-05/0.3451, allocations: 109 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.3451, allocations: 75.28 kB / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.3451, allocations: 150.6 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.3452, allocations: 154.5 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.667e-05/0.3453, allocations: 154.6 kB / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.3455, allocations: 449.9 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.3456, allocations: 169.1 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.3457, allocations: 84.14 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.3457, allocations: 79.28 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/0.3457, allocations: 113.8 kB / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3457, allocations: 0 / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.458e-05/0.3458, allocations: 29.61 kB / 1.079 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.3459, allocations: 138.6 kB / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.346, allocations: 97.86 kB / 1.079 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.346, allocations: 25.7 kB / 1.079 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.3461, allocations: 88.14 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.3461, allocations: 0 / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.3461, allocations: 13.7 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3462, allocations: 310.8 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.3463, allocations: 4 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.3463, allocations: 15.98 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.92e-05/0.3464, allocations: 20.84 kB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3464, allocations: 4.094 kB / 1.079 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001357/0.3465, allocations: 57.62 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3465, allocations: 9.031 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3465, allocations: 0 / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.3466, allocations: 0 / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.3466, allocations: 0 / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3466, allocations: 0 / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.294e-05/0.3467, allocations: 4 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.3467, allocations: 0 / 1.079 GB, free: 2.074 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 9.973e-05/0.3468, allocations: 193.1 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.3469, allocations: 104.9 kB / 1.08 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.3469, allocations: 119.8 kB / 1.08 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.383e-05/0.347, allocations: 176.3 kB / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.945e-05/0.347, allocations: 180.2 kB / 1.08 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.695e-05/0.3471, allocations: 184.2 kB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.3473, allocations: 409.3 kB / 1.081 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.185e-05/0.3474, allocations: 104.9 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.863e-05/0.3474, allocations: 116.8 kB / 1.081 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.327e-05/0.3475, allocations: 176.3 kB / 1.081 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.369e-05/0.3476, allocations: 180.2 kB / 1.081 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-05/0.3476, allocations: 184.3 kB / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.963e-05/0.3477, allocations: 184.2 kB / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.3478, allocations: 307.7 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.3479, allocations: 186 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.348, allocations: 184.2 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.3481, allocations: 108.9 kB / 1.082 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.3481, allocations: 180.5 kB / 1.082 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.3482, allocations: 101 kB / 1.082 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.301e-05/0.3482, allocations: 87.2 kB / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3482, allocations: 0 / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003203/0.3486, allocations: 59.97 kB / 1.083 GB, free: 14.4 MB / 0.8419 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.0006878/0.3493, allocations: 384.5 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.234e-05/0.3494, allocations: 11.98 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3494, allocations: 4.062 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.3494, allocations: 0 / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3498, allocations: 0.5224 MB / 1.084 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.35, allocations: 170.2 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.3503, allocations: 0.6692 MB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.002e-05/0.3503, allocations: 15.98 kB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.3504, allocations: 15.42 kB / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of SimCode: time 2.174e-06/0.3504, allocations: 0 / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.00403/0.3544, allocations: 1.501 MB / 1.086 GB, free: 11.12 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)