Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.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.555/1.555, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001011/0.001011, allocations: 180.9 kB / 366.7 MB, free: 1.691 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.364/1.364, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0007826/0.0007827, allocations: 85.08 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.276e-05/1.269e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.5267, allocations: 116.3 MB / 0.9733 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.6874, allocations: 140 MB / 1.11 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.6877, allocations: 95.92 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01161/0.6993, allocations: 4.493 MB / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6993, allocations: 0 / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.6994, allocations: 0 / 1.114 GB, free: 5.613 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.0003282/0.6997, allocations: 375.1 kB / 1.115 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.6997, allocations: 8.562 kB / 1.115 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.6998, allocations: 5.156 kB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.6999, allocations: 163 kB / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.6999, allocations: 0 / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.6999, allocations: 0.7812 kB / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.995e-05/0.7, allocations: 4 kB / 1.115 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.608e-05/0.7001, allocations: 46.55 kB / 1.115 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.7001, allocations: 0 / 1.115 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.7001, allocations: 4.703 kB / 1.115 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.7001, allocations: 0 / 1.115 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.7003, allocations: 139.7 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.862e-05/0.7003, allocations: 33.14 kB / 1.115 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.7004, allocations: 12.92 kB / 1.115 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.668e-05/0.7004, allocations: 7.984 kB / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.7004, allocations: 30.56 kB / 1.115 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.7004, allocations: 0 / 1.115 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001796/0.7006, allocations: 56.22 kB / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.7007, allocations: 51.41 kB / 1.115 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.408e-05/0.7007, allocations: 90.03 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.7008, allocations: 29.7 kB / 1.116 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.7008, allocations: 81.42 kB / 1.116 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.7008, allocations: 3.984 kB / 1.116 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.7008, allocations: 0 / 1.116 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.7009, allocations: 312.2 kB / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.7009, allocations: 7.938 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/0.701, allocations: 8 kB / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.596e-05/0.701, allocations: 18.23 kB / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.701, allocations: 3.953 kB / 1.116 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/0.7011, allocations: 57.58 kB / 1.116 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.7012, allocations: 7 kB / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.7012, allocations: 7.938 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.7012, allocations: 0.5938 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-06/0.7012, allocations: 2.531 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.7012, allocations: 0 / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.7012, allocations: 1.969 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.7013, allocations: 4 kB / 1.116 GB, free: 3.898 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 6.421e-05/0.7013, allocations: 101 kB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.7013, allocations: 11.94 kB / 1.116 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.7015, allocations: 77.67 kB / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7015, allocations: 0 / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.7015, allocations: 0 / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.7015, allocations: 0 / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.203e-05/0.7016, allocations: 138.2 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.7016, allocations: 4 kB / 1.116 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.7016, allocations: 0 / 1.116 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7017, allocations: 3.953 kB / 1.116 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.7017, allocations: 0 / 1.116 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7017, allocations: 1.75 kB / 1.116 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7017, allocations: 4.031 kB / 1.116 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.663e-05/0.7018, allocations: 65.12 kB / 1.116 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.7018, allocations: 89 kB / 1.116 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.7018, allocations: 3.953 kB / 1.116 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.94e-05/0.7019, allocations: 4 kB / 1.116 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.7019, allocations: 3.938 kB / 1.116 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.7019, allocations: 0 / 1.116 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.998e-05/0.702, allocations: 83.31 kB / 1.117 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.702, allocations: 0 / 1.117 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002782/0.7023, allocations: 79.89 kB / 1.117 GB, free: 3.156 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.002401/0.7047, allocations: 302.6 kB / 1.117 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.7048, allocations: 71.39 kB / 1.117 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7048, allocations: 0 / 1.117 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.997e-05/0.7049, allocations: 33.64 kB / 1.117 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.705, allocations: 9 kB / 1.117 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005823/0.7056, allocations: 195.9 kB / 1.117 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.7059, allocations: 0.6775 MB / 1.118 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.935e-05/0.7059, allocations: 5.969 kB / 1.118 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.7059, allocations: 11.44 kB / 1.118 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7059, allocations: 0 / 1.118 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of Templates: time 0.003662/0.7096, allocations: 1.692 MB / 1.12 GB, free: 216 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)