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.294/2.294, allocations: 390.3 MB / 402.8 MB, free: 6.73 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.001025/0.001026, allocations: 184.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0009067/0.0009068, allocations: 88.03 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.659e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.278, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9032/1.181, allocations: 151.9 MB / 1.367 GB, free: 2.102 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.182, allocations: 93.11 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01215/1.194, allocations: 4.597 MB / 1.372 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.274e-06/1.194, allocations: 0 / 1.372 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.194, allocations: 0 / 1.372 GB, free: 14.38 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.0004008/1.194, allocations: 369.5 kB / 1.372 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.194, allocations: 12.03 kB / 1.372 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/1.194, allocations: 83.23 kB / 1.372 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/1.195, allocations: 246.1 kB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.574e-05/1.195, allocations: 154.6 kB / 1.373 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/1.195, allocations: 154.6 kB / 1.373 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.573e-05/1.195, allocations: 101 kB / 1.373 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/1.195, allocations: 79.22 kB / 1.373 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/1.195, allocations: 154.6 kB / 1.373 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/1.195, allocations: 150.6 kB / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.551e-05/1.195, allocations: 162.5 kB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/1.195, allocations: 449.8 kB / 1.374 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.853e-05/1.196, allocations: 172.5 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/1.196, allocations: 80.14 kB / 1.374 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/1.196, allocations: 79.28 kB / 1.374 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/1.196, allocations: 109.8 kB / 1.374 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/1.196, allocations: 0 / 1.374 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.124e-05/1.196, allocations: 30.33 kB / 1.374 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/1.196, allocations: 126.7 kB / 1.374 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/1.196, allocations: 104 kB / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/1.196, allocations: 25.7 kB / 1.374 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/1.196, allocations: 91.08 kB / 1.375 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/1.196, allocations: 0 / 1.375 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/1.196, allocations: 0 / 1.375 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.196, allocations: 314.8 kB / 1.375 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/1.196, allocations: 11.42 kB / 1.375 GB, free: 11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/1.196, allocations: 8 kB / 1.375 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.116e-05/1.196, allocations: 11.94 kB / 1.375 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.196, allocations: 0 / 1.375 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001261/1.196, allocations: 56.45 kB / 1.375 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.196, allocations: 5.25 kB / 1.375 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.196, allocations: 4 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/1.196, allocations: 0 / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/1.196, allocations: 0 / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.196, allocations: 0.625 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/1.197, allocations: 4 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/1.197, allocations: 4 kB / 1.375 GB, free: 10.91 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.921e-05/1.197, allocations: 184.2 kB / 1.375 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/1.197, allocations: 112.2 kB / 1.375 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/1.197, allocations: 108.1 kB / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.126e-05/1.197, allocations: 176.5 kB / 1.375 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.871e-05/1.197, allocations: 180.2 kB / 1.376 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.796e-05/1.197, allocations: 184.2 kB / 1.376 GB, free: 9.945 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/1.197, allocations: 416.4 kB / 1.376 GB, free: 9.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.612e-05/1.197, allocations: 101 kB / 1.376 GB, free: 9.379 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.598e-05/1.197, allocations: 105 kB / 1.376 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-05/1.197, allocations: 187.9 kB / 1.377 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/1.197, allocations: 176.3 kB / 1.377 GB, free: 8.902 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.311e-05/1.198, allocations: 184.2 kB / 1.377 GB, free: 8.715 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.785e-05/1.198, allocations: 184.3 kB / 1.377 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/1.198, allocations: 307.2 kB / 1.377 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/1.198, allocations: 186 kB / 1.378 GB, free: 8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/1.198, allocations: 180.2 kB / 1.378 GB, free: 7.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/1.198, allocations: 113.3 kB / 1.378 GB, free: 7.703 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/1.198, allocations: 188.2 kB / 1.378 GB, free: 7.512 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/1.198, allocations: 101 kB / 1.378 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.883e-05/1.198, allocations: 79.28 kB / 1.378 GB, free: 7.328 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.198, allocations: 0 / 1.378 GB, free: 7.328 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003756/1.199, allocations: 71.17 kB / 1.378 GB, free: 7.262 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.0007152/1.199, allocations: 402.3 kB / 1.379 GB, free: 6.918 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001295/1.199, allocations: 71.33 kB / 1.379 GB, free: 6.836 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.199, allocations: 0 / 1.379 GB, free: 6.836 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.063e-06/1.199, allocations: 0 / 1.379 GB, free: 6.836 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/1.2, allocations: 0.5317 MB / 1.379 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002044/1.2, allocations: 131.5 kB / 1.379 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/1.2, allocations: 0.677 MB / 1.38 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.506e-05/1.2, allocations: 4 kB / 1.38 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/1.2, allocations: 11.44 kB / 1.38 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.2, allocations: 0 / 1.38 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of Templates: time 0.003909/1.204, allocations: 1.537 MB / 1.382 GB, free: 3.941 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)