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.001597/0.001597, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001879/0.001879, allocations: 187.4 kB / 16.25 MB, free: 6.633 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.532/1.532, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 472.6 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001192, allocations: 70.05 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3062, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002056/0.3083, allocations: 0.5873 MB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.3098, allocations: 1.122 MB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.3099, allocations: 0 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.848e-05/0.31, allocations: 3.984 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.027e-05/0.31, allocations: 0 / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.3105, allocations: 147.7 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.505e-05/0.3106, allocations: 15.92 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.3106, allocations: 4 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.3106, allocations: 11.98 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.3107, allocations: 15.92 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.3107, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.3111, allocations: 183.7 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.3111, allocations: 4 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.3111, allocations: 3.984 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.3114, allocations: 195.6 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3114, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3114, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3114, allocations: 0 / 1.07 GB, free: 8.465 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.0003689/0.3118, allocations: 367.6 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3119, allocations: 12.03 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.3119, allocations: 76.22 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.3121, allocations: 247.9 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/0.3122, allocations: 158.9 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.3122, allocations: 150.9 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.244e-05/0.3123, allocations: 113.1 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.3123, allocations: 75.28 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.3124, allocations: 158.5 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/0.3124, allocations: 150.6 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.3125, allocations: 150.6 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.3128, allocations: 457.8 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.937e-05/0.3129, allocations: 173 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.3129, allocations: 84.14 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.3129, allocations: 75.28 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.313, allocations: 109.8 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.313, allocations: 4 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.336e-05/0.3131, allocations: 33.64 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3131, allocations: 126.7 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3132, allocations: 105.8 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3133, allocations: 25.7 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.3133, allocations: 80.14 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.3133, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.3134, allocations: 25.69 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3135, allocations: 318.8 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.3135, allocations: 4 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.962e-05/0.3136, allocations: 11.98 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.3136, allocations: 20.86 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3136, allocations: 4 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001267/0.3137, allocations: 57.55 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3138, allocations: 9.875 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3138, allocations: 128 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.3138, allocations: 4 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.3138, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.3138, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.3139, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.3139, allocations: 4 kB / 1.073 GB, free: 4.91 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.0001102/0.314, allocations: 193.1 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.3141, allocations: 104.9 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.3142, allocations: 115.8 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.965e-05/0.3142, allocations: 180.3 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.232e-05/0.3143, allocations: 180.2 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-05/0.3144, allocations: 180.2 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.3146, allocations: 405.3 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/0.3146, allocations: 108.9 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.3147, allocations: 112.9 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.936e-05/0.3147, allocations: 180.2 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.3148, allocations: 184.3 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-05/0.3149, allocations: 176.3 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-05/0.3149, allocations: 180.2 kB / 1.075 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.3151, allocations: 315.7 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.3151, allocations: 182 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.3152, allocations: 180.3 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.3153, allocations: 108.9 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.3154, allocations: 184.4 kB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/0.3154, allocations: 108.9 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.3155, allocations: 83.27 kB / 1.076 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3155, allocations: 4 kB / 1.076 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002996/0.3158, allocations: 51.98 kB / 1.077 GB, free: 1.242 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.0006586/0.3164, allocations: 386.1 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.85e-05/0.3165, allocations: 11.98 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3165, allocations: 0 / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.3166, allocations: 0 / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.3169, allocations: 463.7 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.3171, allocations: 172.1 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.3174, allocations: 0.669 MB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.847e-05/0.3175, allocations: 11.98 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.3175, allocations: 11.44 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.3175, allocations: 0 / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of Templates: time 0.003732/0.3213, allocations: 1.52 MB / 1.08 GB, free: 14.05 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)