Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.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.001134/0.001134, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001183/0.001183, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9694/0.9694, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.092/2.092, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.392e-05, allocations: 6.312 kB / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001924/0.001948, allocations: 0.5747 MB / 0.8799 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004045/0.005992, allocations: 1.313 MB / 0.8812 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.006041, allocations: 1.094 kB / 0.8812 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.006171, allocations: 11.88 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.006231, allocations: 0.6562 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008213/0.007052, allocations: 292.7 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.007207, allocations: 75.3 kB / 0.8816 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.00725, allocations: 0 / 0.8816 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.00733, allocations: 55.88 kB / 0.8816 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.007424, allocations: 43.89 kB / 0.8817 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.007447, allocations: 4 kB / 0.8817 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003425/0.007789, allocations: 219.5 kB / 0.8819 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.007819, allocations: 11.98 kB / 0.8819 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.007857, allocations: 23.92 kB / 0.8819 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.008148, allocations: 291.5 kB / 0.8822 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.008152, allocations: 0.5938 kB / 0.8822 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.008154, allocations: 0 / 0.8822 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.008158, allocations: 1.531 kB / 0.8822 GB, free: 3.164 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.0003522/0.00851, allocations: 469.3 kB / 0.8827 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.008544, allocations: 12.03 kB / 0.8827 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.746e-05/0.008612, allocations: 128.1 kB / 0.8828 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.008746, allocations: 255.7 kB / 0.883 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.006e-05/0.008806, allocations: 238.8 kB / 0.8833 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.008872, allocations: 250.7 kB / 0.8835 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.526e-05/0.008927, allocations: 145.5 kB / 0.8836 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.008955, allocations: 119.4 kB / 0.8838 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.009009, allocations: 246.5 kB / 0.884 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.372e-05/0.009062, allocations: 242.3 kB / 0.8842 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.009114, allocations: 238.4 kB / 0.8844 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.009363, allocations: 0.5648 MB / 0.885 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.00947, allocations: 269.4 kB / 0.8853 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.009503, allocations: 126.9 kB / 0.8854 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.009534, allocations: 123.2 kB / 0.8855 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/0.009587, allocations: 160.5 kB / 0.8856 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/0.009589, allocations: 3.984 kB / 0.8857 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 7.297e-05/0.009662, allocations: 33.7 kB / 0.8857 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.009735, allocations: 170.6 kB / 0.8858 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.00986, allocations: 209.2 kB / 0.886 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.009875, allocations: 25.7 kB / 0.8861 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.009934, allocations: 146.8 kB / 0.8862 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.009936, allocations: 0 / 0.8862 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.009989, allocations: 51.33 kB / 0.8863 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.01011, allocations: 0.5039 MB / 0.8868 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.01018, allocations: 53.69 kB / 0.8868 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.928e-05/0.01023, allocations: 61.67 kB / 0.8869 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.604e-05/0.01029, allocations: 69.31 kB / 0.8869 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01029, allocations: 3.984 kB / 0.8869 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002176/0.01051, allocations: 193 kB / 0.8871 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.01055, allocations: 45.69 kB / 0.8872 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.01055, allocations: 0 / 0.8872 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.01056, allocations: 0 / 0.8872 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.954e-06/0.01056, allocations: 4.062 kB / 0.8872 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.01056, allocations: 4 kB / 0.8872 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.01068, allocations: 19.94 kB / 0.8872 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.01071, allocations: 15.98 kB / 0.8872 GB, free: 13.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.927e-05/0.01081, allocations: 283.7 kB / 0.8875 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.01086, allocations: 152.8 kB / 0.8876 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.01091, allocations: 160.3 kB / 0.8878 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.348e-05/0.01097, allocations: 268 kB / 0.888 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.444e-05/0.01103, allocations: 268.1 kB / 0.8883 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-05/0.01109, allocations: 268 kB / 0.8885 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.01126, allocations: 496.4 kB / 0.889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.724e-05/0.0113, allocations: 149.1 kB / 0.8892 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.01134, allocations: 156.8 kB / 0.8893 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.796e-05/0.0114, allocations: 268.1 kB / 0.8896 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.01146, allocations: 268.1 kB / 0.8898 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.305e-05/0.01153, allocations: 268 kB / 0.8901 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.527e-05/0.01159, allocations: 268.1 kB / 0.8903 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.01174, allocations: 451.9 kB / 0.8908 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.01179, allocations: 160.8 kB / 0.8909 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.01186, allocations: 264.1 kB / 0.8912 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.581e-05/0.01191, allocations: 148.9 kB / 0.8913 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.01198, allocations: 272 kB / 0.8916 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.01201, allocations: 148.9 kB / 0.8917 GB, free: 9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.653e-05/0.01207, allocations: 147.1 kB / 0.8918 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01207, allocations: 0 / 0.8918 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002456/0.01232, allocations: 67.8 kB / 0.8919 GB, free: 8.789 MB / 0.8542 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.0006415/0.01296, allocations: 484.2 kB / 0.8924 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.01311, allocations: 148.7 kB / 0.8925 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01311, allocations: 0 / 0.8925 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.01311, allocations: 0 / 0.8925 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.01341, allocations: 0.7101 MB / 0.8932 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.0137, allocations: 261.4 kB / 0.8935 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.995e-05/0.01373, allocations: 63.41 kB / 0.8935 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.758e-05/0.01379, allocations: 55.81 kB / 0.8936 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.0139, allocations: 110.2 kB / 0.8937 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of SimCode: time 7.52e-07/0.0139, allocations: 0 / 0.8937 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of Templates: time 0.004213/0.01812, allocations: 3.103 MB / 0.8967 GB, free: 3.91 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.31634206417948]