Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Python_3_8.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.0009775/0.0009775, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.001001/0.001001, allocations: 175.5 kB / 24.87 MB, free: 8.863 MB / 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.92/0.92, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.747/1.747, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_8.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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.87e-05, allocations: 8.641 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001156/0.001175, allocations: 0.5661 MB / 0.7888 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.002473, allocations: 1.312 MB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.002507, allocations: 0 / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.002619, allocations: 7.922 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.817e-05/0.002677, allocations: 12.77 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000612/0.003289, allocations: 291.6 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.003417, allocations: 75.8 kB / 0.7905 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.003454, allocations: 0 / 0.7905 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.437e-05/0.003518, allocations: 55.88 kB / 0.7905 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.003587, allocations: 39.95 kB / 0.7906 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.003602, allocations: 4 kB / 0.7906 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.003895, allocations: 223.4 kB / 0.7908 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.003927, allocations: 13.5 kB / 0.7908 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.003965, allocations: 19.98 kB / 0.7908 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.004264, allocations: 287.2 kB / 0.7911 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.552e-06/0.004266, allocations: 0 / 0.7911 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004267, allocations: 0.5938 kB / 0.7911 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.004271, allocations: 0 / 0.7911 GB, free: 9.355 MB / 0.7448 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.0003479/0.004619, allocations: 470.4 kB / 0.7916 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.004654, allocations: 12.03 kB / 0.7916 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.917e-05/0.004723, allocations: 129 kB / 0.7917 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.004855, allocations: 251.7 kB / 0.7919 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.004919, allocations: 240.6 kB / 0.7922 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.004989, allocations: 246.8 kB / 0.7924 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.987e-05/0.005039, allocations: 149.4 kB / 0.7925 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.005064, allocations: 119.4 kB / 0.7927 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.741e-05/0.005111, allocations: 246.5 kB / 0.7929 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.57e-05/0.005157, allocations: 239.9 kB / 0.7931 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.005206, allocations: 242.3 kB / 0.7934 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.005409, allocations: 0.5648 MB / 0.7939 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.182e-05/0.005481, allocations: 265.4 kB / 0.7942 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.005509, allocations: 132.8 kB / 0.7943 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.005532, allocations: 123.1 kB / 0.7944 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.005569, allocations: 152.6 kB / 0.7945 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.00557, allocations: 0 / 0.7945 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.179e-05/0.005632, allocations: 45.58 kB / 0.7946 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.005692, allocations: 173.2 kB / 0.7948 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.005811, allocations: 208.5 kB / 0.795 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.005826, allocations: 29.7 kB / 0.795 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.005876, allocations: 142.9 kB / 0.7951 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.163e-06/0.005877, allocations: 0 / 0.7951 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.005928, allocations: 47.34 kB / 0.7952 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.00603, allocations: 0.4923 MB / 0.7956 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.006087, allocations: 58.2 kB / 0.7957 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-05/0.006136, allocations: 62.39 kB / 0.7958 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.53e-05/0.006201, allocations: 65.38 kB / 0.7958 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006203, allocations: 0.5312 kB / 0.7958 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002313/0.006434, allocations: 206.6 kB / 0.796 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.006463, allocations: 45.69 kB / 0.7961 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.006467, allocations: 4 kB / 0.7961 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.006475, allocations: 0 / 0.7961 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.006476, allocations: 0.5938 kB / 0.7961 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.006479, allocations: 3.938 kB / 0.7961 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.00658, allocations: 16.56 kB / 0.7961 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.006605, allocations: 15.98 kB / 0.7961 GB, free: 4.008 MB / 0.7448 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 8.797e-05/0.006693, allocations: 280.5 kB / 0.7964 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.006741, allocations: 157.9 kB / 0.7965 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.006781, allocations: 156.4 kB / 0.7967 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.646e-05/0.006838, allocations: 268.1 kB / 0.7969 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-05/0.006904, allocations: 277.3 kB / 0.7972 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.218e-05/0.006966, allocations: 268 kB / 0.7974 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.007127, allocations: 496.4 kB / 0.7979 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/0.007158, allocations: 149.1 kB / 0.7981 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.00719, allocations: 149.9 kB / 0.7982 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.213e-05/0.007252, allocations: 272 kB / 0.7985 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.007307, allocations: 264.8 kB / 0.7987 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.772e-05/0.007364, allocations: 272 kB / 0.799 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.09e-05/0.007425, allocations: 269.1 kB / 0.7992 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.007562, allocations: 451.9 kB / 0.7997 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.007605, allocations: 148.9 kB / 0.7998 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-05/0.007693, allocations: 272.8 kB / 0.8001 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.007748, allocations: 148.9 kB / 0.8002 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.007813, allocations: 273.5 kB / 0.8005 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.007845, allocations: 148.9 kB / 0.8006 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.007895, allocations: 139.2 kB / 0.8007 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/0.007895, allocations: 0 / 0.8007 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002438/0.008139, allocations: 72.78 kB / 0.8008 GB, free: 15 MB / 0.7605 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.0007136/0.008853, allocations: 494.9 kB / 0.8013 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.009006, allocations: 144.8 kB / 0.8014 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009008, allocations: 0.5 kB / 0.8014 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.088e-06/0.009012, allocations: 8.719 kB / 0.8014 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.009283, allocations: 0.7106 MB / 0.8021 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001913/0.009474, allocations: 264.6 kB / 0.8024 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.899e-05/0.009503, allocations: 59.34 kB / 0.8024 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.709e-05/0.00955, allocations: 43.94 kB / 0.8025 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.009672, allocations: 110.2 kB / 0.8026 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of SimCode: time 8.22e-07/0.009673, allocations: 0 / 0.8026 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of Templates: time 0.004065/0.01374, allocations: 3.102 MB / 0.8056 GB, free: 10.16 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.886941402219236]