Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.332/2.332, allocations: 393.5 MB / 408.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 184 kB / 0.4902 GB, free: 2.223 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.2 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009309/0.0009306, allocations: 100.1 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006012/0.0006012, allocations: 6.875 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3868, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.578, allocations: 152 MB / 1.378 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.5784, allocations: 95.92 kB / 1.378 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01281/0.5912, allocations: 4.792 MB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5912, allocations: 4 kB / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.5913, allocations: 0 / 1.382 GB, free: 12.58 MB / 0.8855 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.0004652/0.5917, allocations: 383.2 kB / 1.383 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.5918, allocations: 8.562 kB / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.074e-05/0.5919, allocations: 79.23 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.5921, allocations: 250.3 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.5921, allocations: 150.6 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.442e-05/0.5922, allocations: 150.6 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.957e-05/0.5923, allocations: 109 kB / 1.384 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/0.5924, allocations: 75.28 kB / 1.384 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.314e-05/0.5924, allocations: 150.6 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.788e-05/0.5925, allocations: 150.6 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.556e-05/0.5926, allocations: 150.6 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.593, allocations: 465.8 kB / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.5931, allocations: 169.1 kB / 1.385 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/0.5932, allocations: 75.28 kB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/0.5932, allocations: 109.8 kB / 1.385 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.5933, allocations: 0 / 1.385 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 9.703e-05/0.5934, allocations: 37.62 kB / 1.385 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.482e-05/0.5935, allocations: 126.7 kB / 1.385 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.5936, allocations: 100.9 kB / 1.385 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.5936, allocations: 25.7 kB / 1.385 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.5937, allocations: 84.12 kB / 1.385 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.5937, allocations: 3.938 kB / 1.385 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-06/0.5937, allocations: 0 / 1.385 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5939, allocations: 318.8 kB / 1.385 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/0.5939, allocations: 12 kB / 1.385 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.5939, allocations: 7.984 kB / 1.385 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.594, allocations: 8 kB / 1.385 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.594, allocations: 0 / 1.385 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001363/0.5941, allocations: 53.62 kB / 1.386 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.5942, allocations: 4 kB / 1.386 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-05/0.5942, allocations: 4 kB / 1.386 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.5942, allocations: 0 / 1.386 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.505e-06/0.5942, allocations: 3.984 kB / 1.386 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.5942, allocations: 4.125 kB / 1.386 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.5943, allocations: 4 kB / 1.386 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.5943, allocations: 7.938 kB / 1.386 GB, free: 9.148 MB / 0.8855 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: 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 0.000109/0.5944, allocations: 185.1 kB / 1.386 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.5945, allocations: 109 kB / 1.386 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.5946, allocations: 112 kB / 1.386 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.463e-05/0.5947, allocations: 176.3 kB / 1.386 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-05/0.5947, allocations: 180.3 kB / 1.386 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.207e-05/0.5948, allocations: 184.2 kB / 1.386 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.5951, allocations: 405.2 kB / 1.387 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.202e-05/0.5951, allocations: 113 kB / 1.387 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.5952, allocations: 101 kB / 1.387 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.402e-05/0.5953, allocations: 180.3 kB / 1.387 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.44e-05/0.5953, allocations: 184.2 kB / 1.387 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.464e-05/0.5954, allocations: 184.3 kB / 1.388 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-05/0.5955, allocations: 180.2 kB / 1.388 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.5957, allocations: 307.9 kB / 1.388 GB, free: 6.438 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/0.5957, allocations: 194 kB / 1.388 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.769e-05/0.5958, allocations: 176.3 kB / 1.388 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/0.5959, allocations: 108.9 kB / 1.389 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.596, allocations: 176.6 kB / 1.389 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.5961, allocations: 108.9 kB / 1.389 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.5961, allocations: 87.28 kB / 1.389 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5961, allocations: 0 / 1.389 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004085/0.5965, allocations: 79.84 kB / 1.389 GB, free: 5.473 MB / 0.8855 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 (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.0007665/0.5973, allocations: 399.4 kB / 1.389 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.5975, allocations: 63.39 kB / 1.389 GB, free: 5.062 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5975, allocations: 0 / 1.389 GB, free: 5.062 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.5975, allocations: 0 / 1.389 GB, free: 5.062 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.5978, allocations: 0.5246 MB / 1.39 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.5981, allocations: 173.9 kB / 1.39 GB, free: 4.336 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.5984, allocations: 0.6809 MB / 1.391 GB, free: 3.629 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.712e-05/0.5984, allocations: 7.938 kB / 1.391 GB, free: 3.621 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.184e-05/0.5984, allocations: 7.438 kB / 1.391 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.5984, allocations: 0 / 1.391 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of Templates: time 0.003938/0.6024, allocations: 1.529 MB / 1.392 GB, free: 2.121 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)