Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.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.0008676/0.0008676, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0008664/0.0008664, allocations: 165 kB / 24.25 MB, free: 208 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.9604/0.9604, allocations: 177.1 MB / 204.7 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.167/2.167, allocations: 389.6 MB / 0.6355 GB, free: 12.25 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.7753 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.728e-05, allocations: 6.797 kB / 0.7753 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.004766/0.004793, allocations: 4.72 MB / 0.78 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003953/0.008747, allocations: 3.502 MB / 0.7834 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.00911, allocations: 35.75 kB / 0.7834 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.009672, allocations: 220 kB / 0.7836 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.01084, allocations: 0.7016 MB / 0.7843 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.01134, allocations: 328.2 kB / 0.7846 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00101/0.01235, allocations: 1.188 MB / 0.7858 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005638/0.01292, allocations: 0.593 MB / 0.7864 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000646/0.01356, allocations: 0.7152 MB / 0.7871 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004411/0.014, allocations: 423.7 kB / 0.7875 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.319e-05/0.01408, allocations: 68.84 kB / 0.7875 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.01431, allocations: 147.8 kB / 0.7877 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.01446, allocations: 273.1 kB / 0.7879 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.01466, allocations: 283.3 kB / 0.7882 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.01521, allocations: 0.6656 MB / 0.7888 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01522, allocations: 7.938 kB / 0.7889 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.61e-07/0.01522, allocations: 0 / 0.7889 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.01522, allocations: 2.75 kB / 0.7889 GB, free: 7.516 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.0009086/0.01613, allocations: 0.9765 MB / 0.7898 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.01616, allocations: 9.344 kB / 0.7898 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.0172, allocations: 415.8 kB / 0.7902 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.01764, allocations: 476 kB / 0.7907 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.01766, allocations: 33.69 kB / 0.7907 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.01771, allocations: 52.38 kB / 0.7908 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/0.01838, allocations: 0.7481 MB / 0.7915 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.01839, allocations: 7.922 kB / 0.7915 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.01843, allocations: 26.05 kB / 0.7915 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.01848, allocations: 49.28 kB / 0.7916 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.01874, allocations: 213.6 kB / 0.7918 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.02032, allocations: 1.722 MB / 0.7934 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.02076, allocations: 237.4 kB / 0.7937 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.765e-05/0.02083, allocations: 56.84 kB / 0.7937 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.02086, allocations: 13.55 kB / 0.7937 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.02088, allocations: 34.56 kB / 0.7938 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.02088, allocations: 0 / 0.7938 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31): time 0.0009379/0.02182, allocations: 498.6 kB / 0.7942 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.02184, allocations: 55.41 kB / 0.7943 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.02212, allocations: 435.1 kB / 0.7947 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.02214, allocations: 31.61 kB / 0.7947 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.02227, allocations: 309.8 kB / 0.795 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.02233, allocations: 111 kB / 0.7951 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/0.02242, allocations: 74.11 kB / 0.7952 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.02251, allocations: 374.5 kB / 0.7956 GB, free: 424 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.02258, allocations: 51.42 kB / 0.7956 GB, free: 372 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.02269, allocations: 142.2 kB / 0.7958 GB, free: 184 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.0229, allocations: 233.4 kB / 0.796 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.0229, allocations: 0 / 0.796 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004247/0.02332, allocations: 347.6 kB / 0.7963 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.02333, allocations: 4.625 kB / 0.7963 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.02334, allocations: 8 kB / 0.7963 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004427/0.02378, allocations: 191.6 kB / 0.7965 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.02404, allocations: 109.8 kB / 0.7966 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.02592, allocations: 3.734 MB / 0.8003 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.0261, allocations: 49.03 kB / 0.8003 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.02613, allocations: 15.98 kB / 0.8003 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001354/0.02626, allocations: 136.8 kB / 0.8005 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001072/0.02637, allocations: 148.9 kB / 0.8006 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001917/0.02656, allocations: 212.6 kB / 0.8008 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.627e-06/0.02656, allocations: 4.875 kB / 0.8008 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0003625/0.02693, allocations: 326.5 kB / 0.8011 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/0.02693, allocations: 8 kB / 0.8011 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.02694, allocations: 4 kB / 0.8011 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.02716, allocations: 101.5 kB / 0.8012 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.02741, allocations: 105 kB / 0.8013 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.02896, allocations: 3.666 MB / 0.8049 GB, free: 6.117 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.02915, allocations: 51.75 kB / 0.805 GB, free: 6.066 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.02916, allocations: 12.59 kB / 0.805 GB, free: 6.055 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.02927, allocations: 202.1 kB / 0.8052 GB, free: 5.852 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.02932, allocations: 43.89 kB / 0.8052 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.02938, allocations: 61.42 kB / 0.8053 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.02939, allocations: 9.672 kB / 0.8053 GB, free: 5.738 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.02939, allocations: 0 / 0.8053 GB, free: 5.738 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.0294, allocations: 3.984 kB / 0.8053 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.02968, allocations: 281.4 kB / 0.8055 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.02968, allocations: 0 / 0.8055 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.02987, allocations: 85.3 kB / 0.8056 GB, free: 5.359 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003173/0.03019, allocations: 134.1 kB / 0.8057 GB, free: 5.227 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.03021, allocations: 11.98 kB / 0.8058 GB, free: 5.215 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.03172, allocations: 3.681 MB / 0.8094 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.03172, allocations: 3.938 kB / 0.8094 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.03206, allocations: 339.5 kB / 0.8097 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/0.03215, allocations: 71.52 kB / 0.8097 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.03218, allocations: 5.094 kB / 0.8098 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.03232, allocations: 19.98 kB / 0.8098 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.03237, allocations: 36.47 kB / 0.8098 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.03239, allocations: 10.19 kB / 0.8098 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001223/0.03251, allocations: 188.4 kB / 0.81 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.03251, allocations: 0 / 0.81 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005292/0.03304, allocations: 327.2 kB / 0.8103 GB, free: 248 kB / 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 9.746e-05/0.03314, allocations: 83.86 kB / 0.8104 GB, free: 160 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007465/0.03388, allocations: 1.025 MB / 0.8114 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.03389, allocations: 4 kB / 0.8114 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.03414, allocations: 441.2 kB / 0.8118 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.03459, allocations: 215.4 kB / 0.812 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.03586, allocations: 1.054 MB / 0.813 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.03598, allocations: 170.5 kB / 0.8132 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002386/0.03622, allocations: 88.72 kB / 0.8133 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.03652, allocations: 205.1 kB / 0.8135 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.03652, allocations: 0 / 0.8135 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of Templates: time 0.01228/0.0488, allocations: 11.31 MB / 0.8245 GB, free: 1.738 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6058128690347075]