Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.648/3.648, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002548/0.002548, allocations: 189.8 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.237/4.237, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 96.34 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007461/0.0007466, allocations: 8.844 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3508, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3397/0.6906, allocations: 133 MB / 1.029 GB, free: 12.33 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005528/0.6912, allocations: 91.94 kB / 1.03 GB, free: 12.24 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.03042/0.7217, allocations: 4.663 MB / 1.034 GB, free: 7.547 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.597e-06/0.7218, allocations: 0 / 1.034 GB, free: 7.547 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.7218, allocations: 0 / 1.034 GB, free: 7.547 MB / 0.6824 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.0007674/0.7226, allocations: 375.4 kB / 1.034 GB, free: 7.129 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.7227, allocations: 12.03 kB / 1.034 GB, free: 7.117 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.7227, allocations: 4.938 kB / 1.034 GB, free: 7.113 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.723, allocations: 168.3 kB / 1.035 GB, free: 6.91 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.723, allocations: 4.375 kB / 1.035 GB, free: 6.906 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.7231, allocations: 384 / 1.035 GB, free: 6.906 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.7233, allocations: 46.19 kB / 1.035 GB, free: 6.855 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.7233, allocations: 192 / 1.035 GB, free: 6.855 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.7234, allocations: 3.938 kB / 1.035 GB, free: 6.852 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.7234, allocations: 0 / 1.035 GB, free: 6.852 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.67e-05/0.7235, allocations: 11.98 kB / 1.035 GB, free: 6.84 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.7238, allocations: 153.7 kB / 1.035 GB, free: 6.641 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.724, allocations: 34.59 kB / 1.035 GB, free: 6.598 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.724, allocations: 8.922 kB / 1.035 GB, free: 6.586 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.7241, allocations: 3.984 kB / 1.035 GB, free: 6.582 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.7242, allocations: 42.44 kB / 1.035 GB, free: 6.531 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=2): time 2.605e-06/0.7242, allocations: 7.938 kB / 1.035 GB, free: 6.523 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2): time 0.000307/0.7245, allocations: 53.69 kB / 1.035 GB, free: 6.465 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.7246, allocations: 51.41 kB / 1.035 GB, free: 6.402 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.7247, allocations: 97.84 kB / 1.035 GB, free: 6.297 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.7248, allocations: 25.7 kB / 1.035 GB, free: 6.266 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.7248, allocations: 80.14 kB / 1.035 GB, free: 6.184 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.7249, allocations: 7.906 kB / 1.035 GB, free: 6.176 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.7249, allocations: 4 kB / 1.035 GB, free: 6.172 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.7251, allocations: 315.1 kB / 1.036 GB, free: 5.855 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.7252, allocations: 7.938 kB / 1.036 GB, free: 5.848 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.262e-05/0.7252, allocations: 7.984 kB / 1.036 GB, free: 5.84 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.457e-05/0.7253, allocations: 12 kB / 1.036 GB, free: 5.828 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.7253, allocations: 0 / 1.036 GB, free: 5.828 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.7255, allocations: 49.62 kB / 1.036 GB, free: 5.773 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.7256, allocations: 7.938 kB / 1.036 GB, free: 5.766 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.382e-05/0.7257, allocations: 7.984 kB / 1.036 GB, free: 5.758 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.7257, allocations: 96 / 1.036 GB, free: 5.758 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.365e-06/0.7257, allocations: 4 kB / 1.036 GB, free: 5.754 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.7257, allocations: 0 / 1.036 GB, free: 5.754 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.059e-05/0.7258, allocations: 4 kB / 1.036 GB, free: 5.75 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.7258, allocations: 0 / 1.036 GB, free: 5.75 MB / 0.6824 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.0001447/0.726, allocations: 113.8 kB / 1.036 GB, free: 5.629 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.726, allocations: 3.938 kB / 1.036 GB, free: 5.625 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.7264, allocations: 77.5 kB / 1.036 GB, free: 5.543 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.7264, allocations: 4.031 kB / 1.036 GB, free: 5.539 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7264, allocations: 0 / 1.036 GB, free: 5.539 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.7264, allocations: 0 / 1.036 GB, free: 5.539 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.7267, allocations: 153.7 kB / 1.036 GB, free: 5.34 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.7267, allocations: 7.984 kB / 1.036 GB, free: 5.332 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-06/0.7267, allocations: 0 / 1.036 GB, free: 5.332 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.7267, allocations: 3.938 kB / 1.036 GB, free: 5.328 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.7268, allocations: 0 / 1.036 GB, free: 5.328 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.7268, allocations: 4 kB / 1.036 GB, free: 5.324 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7268, allocations: 0 / 1.036 GB, free: 5.324 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.727, allocations: 65.12 kB / 1.036 GB, free: 5.242 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 8.638e-05/0.7271, allocations: 88.98 kB / 1.036 GB, free: 5.137 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.7272, allocations: 0 / 1.036 GB, free: 5.137 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.7273, allocations: 7.984 kB / 1.036 GB, free: 5.129 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.7274, allocations: 3.938 kB / 1.036 GB, free: 5.125 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.7274, allocations: 0 / 1.036 GB, free: 5.125 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 8.574e-05/0.7275, allocations: 83.27 kB / 1.036 GB, free: 5.043 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6.02e-07/0.7275, allocations: 0 / 1.036 GB, free: 5.043 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0009194/0.7284, allocations: 79.94 kB / 1.036 GB, free: 4.965 MB / 0.6824 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 (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.001471/0.73, allocations: 309.6 kB / 1.037 GB, free: 4.707 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0002614/0.7303, allocations: 67.39 kB / 1.037 GB, free: 4.629 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.7303, allocations: 0 / 1.037 GB, free: 4.629 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 5.738e-05/0.7304, allocations: 37.7 kB / 1.037 GB, free: 4.586 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.7307, allocations: 11.92 kB / 1.037 GB, free: 4.574 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.7321, allocations: 226.8 kB / 1.037 GB, free: 4.324 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.7325, allocations: 0.677 MB / 1.038 GB, free: 3.621 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.000102/0.7327, allocations: 7.984 kB / 1.038 GB, free: 3.613 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.7327, allocations: 7.438 kB / 1.038 GB, free: 3.605 MB / 0.6824 GB Notification: Performance of SimCode: time 1.663e-06/0.7327, allocations: 4.062 kB / 1.038 GB, free: 3.602 MB / 0.6824 GB Notification: Performance of Templates: time 0.00908/0.7418, allocations: 1.658 MB / 1.039 GB, free: 1.957 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)