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.709/2.709, allocations: 285 MB / 292.5 MB, free: 10.47 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.001384/0.001384, allocations: 176.9 kB / 360.7 MB, free: 7.238 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 2.038/2.038, allocations: 205.3 MB / 0.6192 GB, free: 12.12 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.001141/0.00114, allocations: 94.12 kB / 0.7322 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.337e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8446/0.8447, allocations: 115.2 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2758/1.121, allocations: 138.6 MB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/1.121, allocations: 86.52 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01834/1.139, allocations: 4.337 MB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/1.139, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.756e-06/1.139, allocations: 1.688 kB / 1.103 GB, free: 13.45 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.0004646/1.14, allocations: 370.4 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.14, allocations: 12.03 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/1.14, allocations: 0.5938 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/1.14, allocations: 171.6 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/1.14, allocations: 3.984 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/1.14, allocations: 1.25 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.812e-05/1.14, allocations: 8 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/1.14, allocations: 38.47 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.14, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/1.14, allocations: 0.7812 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/1.14, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/1.141, allocations: 142.9 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.917e-05/1.141, allocations: 27.2 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/1.141, allocations: 13.5 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.789e-05/1.141, allocations: 5.656 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/1.141, allocations: 31.06 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/1.141, allocations: 0.7188 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002617/1.141, allocations: 58.31 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/1.141, allocations: 52.28 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.911e-05/1.141, allocations: 93.52 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/1.141, allocations: 25.7 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/1.141, allocations: 80.73 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/1.142, allocations: 4.562 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/1.142, allocations: 0.5938 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.142, allocations: 320.7 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/1.142, allocations: 4 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/1.142, allocations: 13.86 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.905e-05/1.142, allocations: 11.98 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.142, allocations: 0 / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001609/1.142, allocations: 60.97 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.142, allocations: 4.625 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/1.142, allocations: 4 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.142, allocations: 0 / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/1.142, allocations: 0 / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.142, allocations: 3.984 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/1.142, allocations: 6.938 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/1.142, allocations: 0 / 1.105 GB, free: 11.74 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 9.213e-05/1.142, allocations: 117.4 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/1.142, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/1.143, allocations: 76.97 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/1.143, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.143, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.143, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/1.143, allocations: 134.2 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.143, allocations: 288 / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-06/1.143, allocations: 7.953 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.143, allocations: 0 / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/1.143, allocations: 0 / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/1.143, allocations: 4 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.143, allocations: 3.984 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/1.143, allocations: 69.11 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/1.143, allocations: 81.02 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/1.143, allocations: 7.984 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/1.143, allocations: 4 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/1.143, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/1.143, allocations: 11.92 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.488e-05/1.143, allocations: 86.38 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.143, allocations: 0 / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004467/1.144, allocations: 75.84 kB / 1.105 GB, free: 10.99 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.0008557/1.145, allocations: 304.7 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001345/1.145, allocations: 63.41 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.145, allocations: 0 / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/1.145, allocations: 37.75 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/1.145, allocations: 9.203 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/1.146, allocations: 186.6 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/1.146, allocations: 0.6768 MB / 1.106 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.791e-05/1.146, allocations: 7.984 kB / 1.107 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/1.146, allocations: 7.438 kB / 1.107 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/1.146, allocations: 0 / 1.107 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of Templates: time 0.006047/1.152, allocations: 1.658 MB / 1.108 GB, free: 8.105 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)