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.311/2.311, allocations: 390.5 MB / 398 MB, free: 10.93 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.001352/0.001352, allocations: 183.8 kB / 491.2 MB, free: 1.559 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.699/1.699, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001063/0.001063, allocations: 101.9 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.329e-05/1.331e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2867, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9113/1.198, allocations: 151.3 MB / 1.36 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/1.198, allocations: 99.5 kB / 1.36 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0117/1.21, allocations: 4.469 MB / 1.364 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.21, allocations: 0 / 1.364 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.105e-06/1.21, allocations: 0 / 1.364 GB, free: 33.11 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.0004464/1.211, allocations: 373.9 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.211, allocations: 11.56 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/1.211, allocations: 86.39 kB / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/1.211, allocations: 239.4 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/1.211, allocations: 154.6 kB / 1.365 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/1.211, allocations: 150.6 kB / 1.365 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.547e-05/1.211, allocations: 155.3 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.907e-05/1.211, allocations: 104.9 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/1.211, allocations: 75.28 kB / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/1.211, allocations: 154.4 kB / 1.366 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/1.211, allocations: 159.9 kB / 1.366 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/1.212, allocations: 429.2 kB / 1.366 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.32e-05/1.212, allocations: 173 kB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/1.212, allocations: 80.14 kB / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/1.212, allocations: 79.28 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/1.212, allocations: 107.2 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/1.212, allocations: 0 / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.881e-05/1.212, allocations: 30.14 kB / 1.367 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/1.212, allocations: 56.56 kB / 1.367 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/1.212, allocations: 97.22 kB / 1.367 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/1.212, allocations: 29.55 kB / 1.367 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/1.212, allocations: 84.14 kB / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-06/1.212, allocations: 0 / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.212, allocations: 0 / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.212, allocations: 319.8 kB / 1.368 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/1.212, allocations: 5.359 kB / 1.368 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/1.212, allocations: 9.297 kB / 1.368 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.455e-05/1.212, allocations: 10.95 kB / 1.368 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.212, allocations: 0 / 1.368 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001585/1.213, allocations: 57.59 kB / 1.368 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.213, allocations: 9.188 kB / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/1.213, allocations: 3.875 kB / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.213, allocations: 1.266 kB / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/1.213, allocations: 0 / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/1.213, allocations: 0 / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/1.213, allocations: 1.5 kB / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/1.213, allocations: 3.969 kB / 1.368 GB, free: 29.88 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 9.189e-05/1.213, allocations: 188 kB / 1.368 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/1.213, allocations: 106.6 kB / 1.368 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.181e-05/1.213, allocations: 104.7 kB / 1.368 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.147e-05/1.213, allocations: 181.8 kB / 1.368 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.59e-05/1.213, allocations: 187.4 kB / 1.368 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-05/1.213, allocations: 177.9 kB / 1.369 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/1.213, allocations: 395.8 kB / 1.369 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.879e-05/1.213, allocations: 101 kB / 1.369 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/1.213, allocations: 109.9 kB / 1.369 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.784e-05/1.214, allocations: 180.2 kB / 1.369 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/1.214, allocations: 177.5 kB / 1.369 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.877e-05/1.214, allocations: 181.5 kB / 1.37 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-05/1.214, allocations: 188.4 kB / 1.37 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/1.214, allocations: 301.5 kB / 1.37 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/1.214, allocations: 191 kB / 1.37 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.663e-05/1.214, allocations: 181.7 kB / 1.37 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/1.214, allocations: 104.8 kB / 1.371 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/1.214, allocations: 186.5 kB / 1.371 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/1.214, allocations: 101 kB / 1.371 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.894e-05/1.214, allocations: 84.16 kB / 1.371 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.214, allocations: 0 / 1.371 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003939/1.215, allocations: 77.03 kB / 1.371 GB, free: 26.35 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.0009619/1.216, allocations: 378.7 kB / 1.371 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001102/1.216, allocations: 77.55 kB / 1.371 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.216, allocations: 3.844 kB / 1.371 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/1.216, allocations: 0 / 1.371 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/1.216, allocations: 0.516 MB / 1.372 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002023/1.216, allocations: 128.9 kB / 1.372 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/1.217, allocations: 0.6859 MB / 1.373 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.205e-05/1.217, allocations: 6.656 kB / 1.373 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-06/1.217, allocations: 7.438 kB / 1.373 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.217, allocations: 0 / 1.373 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of Templates: time 0.003336/1.22, allocations: 1.523 MB / 1.374 GB, free: 24.49 MB / 0.8386 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)