Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_9_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_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.037/2.037, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0009565/0.0009566, allocations: 184.7 kB / 487.4 MB, free: 5.039 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.28/1.28, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008283/0.0008286, allocations: 91.03 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.556e-05/1.557e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2314, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8048/1.036, allocations: 150.5 MB / 1.353 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/1.037, allocations: 97.19 kB / 1.353 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01111/1.048, allocations: 4.463 MB / 1.357 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/1.048, allocations: 0 / 1.357 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.753e-06/1.048, allocations: 4 kB / 1.357 GB, free: 33.91 MB / 0.8386 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.0002849/1.048, allocations: 371.3 kB / 1.358 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/1.048, allocations: 11.53 kB / 1.358 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/1.048, allocations: 75.28 kB / 1.358 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/1.048, allocations: 242.2 kB / 1.358 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/1.048, allocations: 154.4 kB / 1.358 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/1.048, allocations: 154.6 kB / 1.358 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.725e-05/1.049, allocations: 156.9 kB / 1.358 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.114e-05/1.049, allocations: 101 kB / 1.359 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/1.049, allocations: 75.28 kB / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/1.049, allocations: 154.5 kB / 1.359 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.628e-05/1.049, allocations: 154.6 kB / 1.359 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/1.049, allocations: 436.5 kB / 1.359 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.137e-05/1.049, allocations: 169 kB / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/1.049, allocations: 80.14 kB / 1.36 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/1.049, allocations: 75.28 kB / 1.36 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/1.049, allocations: 114.3 kB / 1.36 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/1.049, allocations: 3.938 kB / 1.36 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.801e-05/1.049, allocations: 37.14 kB / 1.36 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.545e-05/1.049, allocations: 51.41 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.161e-05/1.049, allocations: 96.25 kB / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/1.049, allocations: 25.7 kB / 1.36 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/1.049, allocations: 84.08 kB / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/1.049, allocations: 3.844 kB / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/1.049, allocations: 4 kB / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/1.05, allocations: 313.9 kB / 1.36 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/1.05, allocations: 3.844 kB / 1.36 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.898e-05/1.05, allocations: 13.97 kB / 1.36 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.952e-05/1.05, allocations: 10.83 kB / 1.36 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/1.05, allocations: 3.953 kB / 1.36 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001267/1.05, allocations: 50.23 kB / 1.36 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.05, allocations: 10.03 kB / 1.36 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/1.05, allocations: 4.125 kB / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/1.05, allocations: 0 / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-06/1.05, allocations: 3.844 kB / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/1.05, allocations: 0 / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/1.05, allocations: 6.141 kB / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/1.05, allocations: 10.66 kB / 1.36 GB, free: 30.68 MB / 0.8386 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 8.618e-05/1.05, allocations: 176.3 kB / 1.361 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/1.05, allocations: 111.5 kB / 1.361 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/1.05, allocations: 108.7 kB / 1.361 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-05/1.05, allocations: 180.2 kB / 1.361 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.696e-05/1.05, allocations: 183.1 kB / 1.361 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.574e-05/1.05, allocations: 180.2 kB / 1.361 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/1.051, allocations: 380.9 kB / 1.362 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.423e-05/1.051, allocations: 105 kB / 1.362 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/1.051, allocations: 105 kB / 1.362 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.935e-05/1.051, allocations: 184.2 kB / 1.362 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/1.051, allocations: 179.3 kB / 1.362 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-05/1.051, allocations: 178.9 kB / 1.362 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.099e-05/1.051, allocations: 192.8 kB / 1.363 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/1.051, allocations: 305.3 kB / 1.363 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/1.051, allocations: 185.9 kB / 1.363 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/1.051, allocations: 186.7 kB / 1.363 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/1.051, allocations: 101 kB / 1.363 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/1.051, allocations: 189 kB / 1.364 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/1.051, allocations: 104.4 kB / 1.364 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.844e-05/1.051, allocations: 81.94 kB / 1.364 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.051, allocations: 0 / 1.364 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003275/1.052, allocations: 72.78 kB / 1.364 GB, free: 27.16 MB / 0.8386 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 (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.0006235/1.052, allocations: 386.3 kB / 1.364 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.156e-05/1.052, allocations: 77.64 kB / 1.364 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.052, allocations: 4.062 kB / 1.364 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/1.052, allocations: 0 / 1.364 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/1.053, allocations: 0.5184 MB / 1.365 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001722/1.053, allocations: 129.4 kB / 1.365 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/1.053, allocations: 0.6759 MB / 1.366 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.22e-05/1.053, allocations: 10.97 kB / 1.366 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-06/1.053, allocations: 7.438 kB / 1.366 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.053, allocations: 0 / 1.366 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.003279/1.056, allocations: 1.529 MB / 1.367 GB, free: 25.3 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)