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.001023/0.001023, allocations: 91.3 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.008433/0.008434, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.509/1.509, 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.821/2.821, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 14.25 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3618, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001153/0.363, allocations: 266.2 kB / 1.074 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.365, allocations: 1.115 MB / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.95e-05/0.365, allocations: 0 / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.5e-05/0.3651, allocations: 0 / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.856e-05/0.3652, allocations: 3.938 kB / 1.075 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.3657, allocations: 155.6 kB / 1.076 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.672e-05/0.3657, allocations: 8 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.3658, allocations: 3.984 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.781e-05/0.3658, allocations: 4 kB / 1.076 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.3659, allocations: 15.94 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.3659, allocations: 0 / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.3662, allocations: 179.7 kB / 1.076 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.3663, allocations: 7.938 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.3663, allocations: 29.69 kB / 1.076 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.3666, allocations: 195.6 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3666, allocations: 4 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3666, allocations: 0 / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.3667, allocations: 0 / 1.076 GB, free: 5.555 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.000349/0.367, allocations: 355.6 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3671, allocations: 12.03 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.3671, allocations: 76.22 kB / 1.076 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.3673, allocations: 239.9 kB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-05/0.3674, allocations: 166.9 kB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-05/0.3675, allocations: 150.9 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.073e-05/0.3676, allocations: 105.1 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/0.3676, allocations: 75.28 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.718e-05/0.3677, allocations: 162.5 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.322e-05/0.3678, allocations: 150.6 kB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.428e-05/0.3678, allocations: 154.6 kB / 1.078 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.3682, allocations: 457.9 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3684, allocations: 165.1 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.3684, allocations: 80.14 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.3685, allocations: 79.28 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.148e-05/0.3685, allocations: 113.8 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3686, allocations: 0 / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001077/0.3687, allocations: 37.55 kB / 1.079 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/0.3688, allocations: 126.7 kB / 1.079 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.3689, allocations: 101.8 kB / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.369, allocations: 29.7 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.369, allocations: 84.14 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-06/0.369, allocations: 0 / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.3691, allocations: 9.719 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.3693, allocations: 314.8 kB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.3693, allocations: 7.984 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-05/0.3694, allocations: 12 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.09e-05/0.3694, allocations: 20.84 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3694, allocations: 96 / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001752/0.3696, allocations: 61.56 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3696, allocations: 4 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3697, allocations: 0 / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.3697, allocations: 4 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.3697, allocations: 0 / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3697, allocations: 3.984 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.365e-05/0.3698, allocations: 0 / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.3698, allocations: 11.94 kB / 1.079 GB, free: 2.02 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.0001539/0.37, allocations: 185.2 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/0.3701, allocations: 108.9 kB / 1.08 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.337e-05/0.3702, allocations: 119.8 kB / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-05/0.3703, allocations: 176.3 kB / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.417e-05/0.3704, allocations: 184.2 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.113e-05/0.3704, allocations: 176.3 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.3707, allocations: 413.3 kB / 1.081 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.752e-05/0.3708, allocations: 108.9 kB / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.3708, allocations: 104.9 kB / 1.081 GB, free: 368 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.156e-05/0.3709, allocations: 180.2 kB / 1.081 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.361e-05/0.371, allocations: 180.2 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.656e-05/0.371, allocations: 188.2 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.438e-05/0.3711, allocations: 176.3 kB / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.3712, allocations: 307.7 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.3713, allocations: 186.2 kB / 1.082 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.489e-05/0.3714, allocations: 188.2 kB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.3715, allocations: 105 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.3716, allocations: 180.2 kB / 1.082 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.3717, allocations: 108.9 kB / 1.083 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.218e-05/0.3717, allocations: 79.28 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3717, allocations: 0 / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003471/0.3721, allocations: 55.98 kB / 1.083 GB, free: 14.36 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.0007172/0.3728, allocations: 387.8 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.088e-05/0.3729, allocations: 8 kB / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3729, allocations: 0 / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.3729, allocations: 8.062 kB / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.3733, allocations: 0.5262 MB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.3736, allocations: 165.7 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.3738, allocations: 0.677 MB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.942e-05/0.3739, allocations: 8 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.374, allocations: 15.42 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.374, allocations: 3.938 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.003978/0.378, allocations: 1.507 MB / 1.086 GB, free: 11.09 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)