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.001681/0.001681, allocations: 70.42 kB / 19.76 MB, free: 2.051 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.002/0.002, allocations: 156.1 kB / 23 MB, free: 4.949 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.453/1.453, allocations: 177.2 MB / 203.4 MB, free: 9.277 MB / 190.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 2.974/2.974, allocations: 394.6 MB / 0.639 GB, free: 11.75 MB / 0.6075 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.002057/0.002057, allocations: 65.94 kB / 1.01 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.068, allocations: 181.9 MB / 1.187 GB, free: 16.04 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001804/1.07, allocations: 0.5526 MB / 1.188 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001611/1.071, allocations: 1.196 MB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/1.071, allocations: 7.938 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/1.071, allocations: 5.734 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/1.071, allocations: 0.7031 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/1.072, allocations: 184 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.381e-05/1.072, allocations: 12.16 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/1.072, allocations: 3.422 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.987e-05/1.072, allocations: 11.52 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/1.072, allocations: 15.58 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/1.072, allocations: 5.062 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/1.073, allocations: 210.1 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/1.073, allocations: 7.844 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/1.073, allocations: 6.797 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003271/1.073, allocations: 185 kB / 1.19 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.073, allocations: 1.188 kB / 1.19 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.723e-06/1.073, allocations: 3.938 kB / 1.19 GB, free: 14.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.801e-06/1.073, allocations: 4.641 kB / 1.19 GB, free: 14.64 MB / 1.076 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.0003301/1.073, allocations: 291.9 kB / 1.19 GB, free: 14.35 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/1.073, allocations: 9.719 kB / 1.19 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/1.073, allocations: 82.02 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.134e-05/1.073, allocations: 181.2 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/1.073, allocations: 156.3 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/1.073, allocations: 158.1 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.619e-05/1.074, allocations: 106.4 kB / 1.191 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/1.074, allocations: 87.22 kB / 1.191 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/1.074, allocations: 152.7 kB / 1.191 GB, free: 13.42 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/1.074, allocations: 150.6 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.556e-05/1.074, allocations: 155.8 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/1.074, allocations: 412.4 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.322e-05/1.074, allocations: 169.2 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/1.074, allocations: 84.14 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/1.074, allocations: 75.94 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/1.074, allocations: 116.2 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/1.074, allocations: 0 / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.471e-05/1.074, allocations: 32.25 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/1.074, allocations: 128 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.545e-05/1.074, allocations: 103.4 kB / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/1.074, allocations: 25.7 kB / 1.192 GB, free: 11.94 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.401e-05/1.074, allocations: 81.78 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/1.074, allocations: 1.125 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/1.074, allocations: 21.77 kB / 1.192 GB, free: 11.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/1.074, allocations: 316.6 kB / 1.193 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.664e-05/1.074, allocations: 6.375 kB / 1.193 GB, free: 11.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-05/1.074, allocations: 61.86 kB / 1.193 GB, free: 11.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/1.074, allocations: 28.3 kB / 1.193 GB, free: 11.44 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1.074, allocations: 0 / 1.193 GB, free: 11.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001284/1.074, allocations: 48.14 kB / 1.193 GB, free: 11.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.074, allocations: 11.98 kB / 1.193 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.074, allocations: 0 / 1.193 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.074, allocations: 128 / 1.193 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.734e-06/1.075, allocations: 5.516 kB / 1.193 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.075, allocations: 0 / 1.193 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/1.075, allocations: 7.109 kB / 1.193 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/1.075, allocations: 3.594 kB / 1.193 GB, free: 11.4 MB / 1.076 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 6.153e-05/1.075, allocations: 184.7 kB / 1.193 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/1.075, allocations: 118.9 kB / 1.193 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/1.075, allocations: 106.8 kB / 1.193 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/1.075, allocations: 182.4 kB / 1.193 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.73e-05/1.075, allocations: 178 kB / 1.193 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/1.075, allocations: 179.2 kB / 1.194 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/1.075, allocations: 366.1 kB / 1.194 GB, free: 10.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.075, allocations: 102.9 kB / 1.194 GB, free: 9.938 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.517e-05/1.075, allocations: 110.8 kB / 1.194 GB, free: 9.824 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-05/1.075, allocations: 177.7 kB / 1.194 GB, free: 9.645 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/1.075, allocations: 190.5 kB / 1.195 GB, free: 9.453 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.687e-05/1.075, allocations: 187.1 kB / 1.195 GB, free: 9.266 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.487e-05/1.075, allocations: 182.3 kB / 1.195 GB, free: 9.082 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.304e-05/1.075, allocations: 302.9 kB / 1.195 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/1.075, allocations: 107.8 kB / 1.195 GB, free: 8.66 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/1.075, allocations: 185.9 kB / 1.195 GB, free: 8.473 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/1.075, allocations: 111.2 kB / 1.196 GB, free: 8.359 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/1.075, allocations: 182.2 kB / 1.196 GB, free: 8.176 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/1.075, allocations: 102.9 kB / 1.196 GB, free: 8.07 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.705e-05/1.075, allocations: 85.23 kB / 1.196 GB, free: 7.992 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.075, allocations: 1.281 kB / 1.196 GB, free: 7.992 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003152/1.076, allocations: 50.81 kB / 1.196 GB, free: 7.98 MB / 1.076 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.0007873/1.076, allocations: 399.7 kB / 1.196 GB, free: 7.734 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.978e-05/1.077, allocations: 16.67 kB / 1.196 GB, free: 7.727 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/1.077, allocations: 1.125 kB / 1.196 GB, free: 7.727 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/1.077, allocations: 0.7969 kB / 1.196 GB, free: 7.727 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/1.077, allocations: 459.1 kB / 1.197 GB, free: 7.277 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/1.077, allocations: 187.4 kB / 1.197 GB, free: 7.074 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.655e-05/1.077, allocations: 61.81 kB / 1.197 GB, free: 7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/1.077, allocations: 19.03 kB / 1.197 GB, free: 6.988 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/1.077, allocations: 0 / 1.197 GB, free: 6.988 MB / 1.076 GB Notification: Performance of Templates: time 0.003958/1.081, allocations: 1.567 MB / 1.199 GB, free: 6.816 MB / 1.076 GB " [Timeout remaining time 299] 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: 11.876162226311862] Failed to read output from testmodel.py, exit status != 0: 1.0894405990839005 1.102786037 0.027031721 Calling exit ...