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.001095/0.001095, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0013/0.0013, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 58.27 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3214, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001784/0.3232, allocations: 0.591 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3247, allocations: 1.126 MB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.3248, allocations: 0 / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.59e-05/0.3248, allocations: 4 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.3249, allocations: 0 / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.3254, allocations: 151.2 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.404e-05/0.3254, allocations: 15.98 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.3255, allocations: 7.984 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.289e-05/0.3255, allocations: 8 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.3256, allocations: 15.92 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3256, allocations: 3.938 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.3259, allocations: 179.7 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.326, allocations: 11.97 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.326, allocations: 4 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.3263, allocations: 187.6 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3263, allocations: 4 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3263, allocations: 0 / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3263, allocations: 4 kB / 1.07 GB, free: 8.488 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.0003739/0.3267, allocations: 367.6 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3267, allocations: 8.031 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.3268, allocations: 76.22 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.3269, allocations: 247.9 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.327, allocations: 150.9 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.3271, allocations: 154.9 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.732e-05/0.3271, allocations: 109.1 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.3272, allocations: 75.28 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.3272, allocations: 158.4 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.3273, allocations: 154.6 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.389e-05/0.3273, allocations: 150.6 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.3276, allocations: 461.8 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.299e-05/0.3277, allocations: 165.1 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.3277, allocations: 80.14 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3277, allocations: 79.22 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.3278, allocations: 117.8 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3278, allocations: 4 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.507e-05/0.3279, allocations: 25.7 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.3279, allocations: 126.7 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.328, allocations: 105.8 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3281, allocations: 25.7 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.3281, allocations: 80.14 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.3281, allocations: 0 / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.3282, allocations: 21.72 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.3283, allocations: 314.8 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.3283, allocations: 7.984 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.3283, allocations: 15.94 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.043e-05/0.3284, allocations: 20.84 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3284, allocations: 0 / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001287/0.3285, allocations: 57.62 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3285, allocations: 4 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3286, allocations: 4.125 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.3286, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-06/0.3286, allocations: 3.984 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.3286, allocations: 3.938 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.149e-05/0.3287, allocations: 4 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.3287, allocations: 0 / 1.073 GB, free: 4.945 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.713e-05/0.3288, allocations: 189.1 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.3289, allocations: 104.9 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.3289, allocations: 119.9 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.328e-05/0.329, allocations: 180.2 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-05/0.329, allocations: 180.3 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.374e-05/0.3291, allocations: 176.3 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.3293, allocations: 409.2 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-05/0.3294, allocations: 112.9 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.3294, allocations: 113 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.704e-05/0.3295, allocations: 176.3 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.3295, allocations: 184.2 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.834e-05/0.3296, allocations: 180.3 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.933e-05/0.3297, allocations: 184.2 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.3298, allocations: 307.7 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.3299, allocations: 194 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-05/0.33, allocations: 176.3 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.33, allocations: 101 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.3301, allocations: 192.2 kB / 1.076 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.3301, allocations: 101 kB / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.3302, allocations: 83.27 kB / 1.076 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3302, allocations: 0 / 1.076 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003062/0.3305, allocations: 59.97 kB / 1.077 GB, free: 1.273 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.0006857/0.3312, allocations: 374.4 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.392e-05/0.3313, allocations: 15.94 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3313, allocations: 0 / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.3313, allocations: 0 / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.3317, allocations: 466.4 kB / 1.077 GB, free: 496 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.3319, allocations: 168.2 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.3322, allocations: 0.6729 MB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.3323, allocations: 8 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.3323, allocations: 15.42 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.3323, allocations: 4 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.003704/0.336, allocations: 1.521 MB / 1.08 GB, free: 14.05 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)