Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 289.7 MB / 302.3 MB, free: 2.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 181.7 kB / 371.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008647/0.0008646, allocations: 88.86 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0001022/0.0001028, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3649, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.419, allocations: 140.4 MB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/1.419, allocations: 88.23 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01211/1.431, allocations: 4.428 MB / 1.121 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.355e-06/1.431, allocations: 3.5 kB / 1.121 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.365e-06/1.431, allocations: 0 / 1.121 GB, free: 41.18 MB / 0.7448 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.0003564/1.432, allocations: 364 kB / 1.122 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.94e-05/1.432, allocations: 15.97 kB / 1.122 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/1.432, allocations: 1.719 kB / 1.122 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/1.432, allocations: 170.3 kB / 1.122 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/1.432, allocations: 0 / 1.122 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/1.432, allocations: 4 kB / 1.122 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/1.432, allocations: 42.73 kB / 1.122 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.432, allocations: 1.266 kB / 1.122 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/1.432, allocations: 0 / 1.122 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/1.432, allocations: 0.75 kB / 1.122 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.105e-05/1.432, allocations: 11.61 kB / 1.122 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/1.432, allocations: 160.7 kB / 1.122 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.885e-05/1.433, allocations: 34.55 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/1.433, allocations: 16.03 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/1.433, allocations: 4 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/1.433, allocations: 30.56 kB / 1.122 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/1.433, allocations: 0 / 1.122 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/1.433, allocations: 46.3 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/1.433, allocations: 58.88 kB / 1.122 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.539e-05/1.433, allocations: 92.47 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/1.433, allocations: 25.7 kB / 1.122 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/1.433, allocations: 80.14 kB / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/1.433, allocations: 10.91 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/1.433, allocations: 3.312 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/1.433, allocations: 314.8 kB / 1.123 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/1.433, allocations: 7.281 kB / 1.123 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.935e-05/1.433, allocations: 12.12 kB / 1.123 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.135e-05/1.433, allocations: 7.422 kB / 1.123 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.433, allocations: 0 / 1.123 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.176e-05/1.433, allocations: 52.5 kB / 1.123 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/1.433, allocations: 8.656 kB / 1.123 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/1.433, allocations: 1.594 kB / 1.123 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.434, allocations: 4 kB / 1.123 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/1.434, allocations: 0 / 1.123 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/1.434, allocations: 1.016 kB / 1.123 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/1.434, allocations: 4.906 kB / 1.123 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/1.434, allocations: 7.281 kB / 1.123 GB, free: 39.5 MB / 0.7448 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 7.039e-05/1.434, allocations: 109.4 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/1.434, allocations: 3.938 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/1.434, allocations: 67.25 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/1.434, allocations: 0 / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.434, allocations: 0 / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/1.434, allocations: 0 / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/1.434, allocations: 161.9 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/1.434, allocations: 7.938 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-06/1.434, allocations: 0 / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.434, allocations: 1.219 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/1.434, allocations: 4 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.434, allocations: 0 / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.434, allocations: 1.391 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.217e-05/1.434, allocations: 64.27 kB / 1.123 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/1.434, allocations: 92.02 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/1.434, allocations: 0 / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.688e-05/1.434, allocations: 5.219 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/1.434, allocations: 0 / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/1.434, allocations: 0.5625 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.348e-05/1.434, allocations: 87.31 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.8e-07/1.434, allocations: 0 / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003486/1.435, allocations: 78.23 kB / 1.124 GB, free: 38.77 MB / 0.7448 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.0009199/1.436, allocations: 310.7 kB / 1.124 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001413/1.436, allocations: 71.28 kB / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.436, allocations: 0 / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/1.436, allocations: 37.12 kB / 1.124 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/1.436, allocations: 2.812 kB / 1.124 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/1.437, allocations: 187.1 kB / 1.124 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/1.437, allocations: 0.6764 MB / 1.125 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.625e-05/1.437, allocations: 11.27 kB / 1.125 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/1.437, allocations: 11.44 kB / 1.125 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of SimCode: time 9.21e-07/1.437, allocations: 0.75 kB / 1.125 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.004468/1.442, allocations: 1.666 MB / 1.126 GB, free: 36.63 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)