Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.658/2.658, allocations: 284.8 MB / 297.3 MB, free: 6.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 184.6 kB / 365.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.95/1.95, allocations: 205.1 MB / 0.6241 GB, free: 8.168 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 102.7 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.85e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9235/0.9235, allocations: 115.2 MB / 0.97 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2596/1.183, allocations: 139.3 MB / 1.106 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/1.184, allocations: 83.94 kB / 1.106 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02002/1.204, allocations: 4.443 MB / 1.11 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.714e-06/1.204, allocations: 3.938 kB / 1.11 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.142e-05/1.204, allocations: 4 kB / 1.11 GB, free: 8.66 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005537/1.204, allocations: 363.2 kB / 1.111 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.204, allocations: 8.031 kB / 1.111 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/1.204, allocations: 0.7188 kB / 1.111 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/1.205, allocations: 171.8 kB / 1.111 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/1.205, allocations: 7.938 kB / 1.111 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/1.205, allocations: 0.6562 kB / 1.111 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/1.205, allocations: 38.88 kB / 1.111 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.205, allocations: 0 / 1.111 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/1.205, allocations: 0 / 1.111 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/1.205, allocations: 4.906 kB / 1.111 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.286e-05/1.205, allocations: 11.94 kB / 1.111 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/1.205, allocations: 163.9 kB / 1.111 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.732e-05/1.205, allocations: 30.56 kB / 1.111 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/1.205, allocations: 12.92 kB / 1.111 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/1.205, allocations: 0.5 kB / 1.111 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/1.205, allocations: 32.88 kB / 1.111 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/1.206, allocations: 4 kB / 1.111 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001982/1.206, allocations: 57.53 kB / 1.111 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/1.206, allocations: 51.41 kB / 1.111 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.592e-05/1.206, allocations: 92.89 kB / 1.111 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/1.206, allocations: 30.64 kB / 1.111 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/1.206, allocations: 80.14 kB / 1.112 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/1.206, allocations: 4.656 kB / 1.112 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/1.206, allocations: 0 / 1.112 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.206, allocations: 318.6 kB / 1.112 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.254e-05/1.206, allocations: 8 kB / 1.112 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/1.206, allocations: 7.984 kB / 1.112 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/1.206, allocations: 4 kB / 1.112 GB, free: 7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.206, allocations: 0 / 1.112 GB, free: 7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001326/1.206, allocations: 61.53 kB / 1.112 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.206, allocations: 4 kB / 1.112 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/1.206, allocations: 10.73 kB / 1.112 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.207, allocations: 0 / 1.112 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.764e-06/1.207, allocations: 0 / 1.112 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.207, allocations: 0 / 1.112 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/1.207, allocations: 0 / 1.112 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/1.207, allocations: 7.812 kB / 1.112 GB, free: 6.918 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.551e-05/1.207, allocations: 105.2 kB / 1.112 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/1.207, allocations: 8 kB / 1.112 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/1.207, allocations: 65.66 kB / 1.112 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.207, allocations: 3.938 kB / 1.112 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.207, allocations: 4 kB / 1.112 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.207, allocations: 0 / 1.112 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/1.207, allocations: 153.6 kB / 1.112 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.207, allocations: 0 / 1.112 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-06/1.207, allocations: 3.938 kB / 1.112 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/1.207, allocations: 4 kB / 1.112 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/1.207, allocations: 8.016 kB / 1.112 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.207, allocations: 2.969 kB / 1.112 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.207, allocations: 0 / 1.112 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/1.207, allocations: 69.08 kB / 1.112 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/1.207, allocations: 81.02 kB / 1.112 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/1.207, allocations: 4 kB / 1.112 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.724e-05/1.208, allocations: 1.312 kB / 1.112 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/1.208, allocations: 8.016 kB / 1.112 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/1.208, allocations: 7.984 kB / 1.112 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.084e-05/1.208, allocations: 83.28 kB / 1.113 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.208, allocations: 0 / 1.113 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004839/1.208, allocations: 75.84 kB / 1.113 GB, free: 6.141 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009234/1.209, allocations: 311.6 kB / 1.113 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001725/1.209, allocations: 67.39 kB / 1.113 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.209, allocations: 0 / 1.113 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/1.209, allocations: 37.7 kB / 1.113 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/1.21, allocations: 3.953 kB / 1.113 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008954/1.21, allocations: 188 kB / 1.113 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/1.211, allocations: 0.677 MB / 1.114 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.875e-05/1.211, allocations: 18.25 kB / 1.114 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/1.211, allocations: 11.44 kB / 1.114 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/1.211, allocations: 0 / 1.114 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of Templates: time 0.00642/1.217, allocations: 1.659 MB / 1.115 GB, free: 3.238 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)