Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 217.7 kB / 22.26 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.267/3.267, allocations: 0.5112 GB / 0.8163 GB, free: 15.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 66.06 kB / 1.187 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3858, allocations: 182 MB / 1.365 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001826/0.3876, allocations: 0.5468 MB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3895, allocations: 1.228 MB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.3895, allocations: 0 / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.545e-05/0.3896, allocations: 11.94 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.857e-05/0.3896, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.3902, allocations: 183.4 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.183e-05/0.3903, allocations: 15.98 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.3903, allocations: 4 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.3903, allocations: 15.91 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.865e-05/0.3904, allocations: 4 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3904, allocations: 4 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004683/0.3909, allocations: 247.5 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.3909, allocations: 0 / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.3909, allocations: 7.938 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.3913, allocations: 199.5 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3913, allocations: 3.938 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3913, allocations: 4 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3913, allocations: 4 kB / 1.367 GB, free: 10.89 MB / 1.061 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.0004023/0.3917, allocations: 289.9 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3917, allocations: 8.031 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.3918, allocations: 80.22 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3919, allocations: 185.8 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.101e-05/0.392, allocations: 154.9 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.482e-05/0.3921, allocations: 158.9 kB / 1.368 GB, free: 9.977 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.921e-05/0.3922, allocations: 105.1 kB / 1.368 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.3922, allocations: 75.28 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.3923, allocations: 150.6 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-05/0.3923, allocations: 150.6 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.3924, allocations: 158.5 kB / 1.369 GB, free: 9.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.3928, allocations: 421 kB / 1.369 GB, free: 8.887 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.3929, allocations: 169.1 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.3929, allocations: 84.14 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.393, allocations: 79.28 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.859e-05/0.393, allocations: 117.7 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.393, allocations: 0 / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.897e-05/0.3931, allocations: 33.66 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.3932, allocations: 126.7 kB / 1.37 GB, free: 8.246 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.3933, allocations: 105.8 kB / 1.37 GB, free: 8.133 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.3934, allocations: 25.7 kB / 1.37 GB, free: 8.102 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.3934, allocations: 92.12 kB / 1.37 GB, free: 8.008 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.3934, allocations: 0 / 1.37 GB, free: 8.008 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.3935, allocations: 17.7 kB / 1.37 GB, free: 7.984 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3936, allocations: 314.8 kB / 1.37 GB, free: 7.668 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.3936, allocations: 8 kB / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.3937, allocations: 11.98 kB / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.3937, allocations: 28.78 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3937, allocations: 0 / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001315/0.3938, allocations: 53.72 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3939, allocations: 4 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.3939, allocations: 0 / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3939, allocations: 0 / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.3939, allocations: 4 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3939, allocations: 0 / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.539e-05/0.394, allocations: 0 / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.394, allocations: 4 kB / 1.37 GB, free: 7.547 MB / 1.061 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: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.3941, allocations: 193.1 kB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.3942, allocations: 112.9 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.646e-05/0.3942, allocations: 108.1 kB / 1.371 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.365e-05/0.3943, allocations: 180.3 kB / 1.371 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001003/0.3944, allocations: 188.3 kB / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.432e-05/0.3945, allocations: 176.3 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.3948, allocations: 384.3 kB / 1.371 GB, free: 6.133 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-05/0.3948, allocations: 105 kB / 1.372 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.3949, allocations: 108.9 kB / 1.372 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.414e-05/0.395, allocations: 176.3 kB / 1.372 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.3951, allocations: 184.3 kB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.949e-05/0.3951, allocations: 180.2 kB / 1.372 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.544e-05/0.3952, allocations: 180.3 kB / 1.372 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.3954, allocations: 311.7 kB / 1.373 GB, free: 4.848 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.3955, allocations: 105.1 kB / 1.373 GB, free: 4.738 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.606e-05/0.3956, allocations: 184.2 kB / 1.373 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.3956, allocations: 109 kB / 1.373 GB, free: 4.438 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3957, allocations: 184.2 kB / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.3958, allocations: 101 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.679e-05/0.3958, allocations: 83.28 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3958, allocations: 0 / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003296/0.3962, allocations: 59.73 kB / 1.373 GB, free: 4.004 MB / 1.061 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008816/0.3971, allocations: 382.9 kB / 1.374 GB, free: 3.676 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.3972, allocations: 19.92 kB / 1.374 GB, free: 3.656 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3972, allocations: 0 / 1.374 GB, free: 3.656 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.3972, allocations: 4 kB / 1.374 GB, free: 3.652 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.3976, allocations: 461.4 kB / 1.374 GB, free: 3.199 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.3978, allocations: 160.3 kB / 1.374 GB, free: 3.016 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3982, allocations: 0.6729 MB / 1.375 GB, free: 2.316 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.3983, allocations: 11.98 kB / 1.375 GB, free: 2.305 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.3983, allocations: 15.44 kB / 1.375 GB, free: 2.289 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.3983, allocations: 0 / 1.375 GB, free: 2.289 MB / 1.061 GB Notification: Performance of Templates: time 0.004669/0.403, allocations: 1.534 MB / 1.377 GB, free: 0.7891 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=800 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 8.91161367110908] Failed to read output from testmodel.py, exit status != 0: 0.4117965530604124 0.42640823999999994 0.032076444 Calling exit ...