Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.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.0008433/0.0008433, allocations: 79.69 kB / 21.74 MB, free: 2.52 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: 170.3 kB / 25.18 MB, free: 8.324 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.8667/0.8667, allocations: 177.2 MB / 205.6 MB, free: 4 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 1.9/1.9, allocations: 389.6 MB / 0.6364 GB, free: 13.31 MB / 0.6042 GB " [Timeout remaining time 178] 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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7755 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.548e-05, allocations: 2.312 kB / 0.7755 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00344/0.003456, allocations: 3.336 MB / 0.7788 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.005455, allocations: 1.277 MB / 0.78 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.005628, allocations: 15.88 kB / 0.7801 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.006077, allocations: 139.1 kB / 0.7802 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.006472, allocations: 246.4 kB / 0.7804 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.006831, allocations: 187.6 kB / 0.7806 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000534/0.007365, allocations: 0.6382 MB / 0.7812 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.007805, allocations: 361.7 kB / 0.7816 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.008101, allocations: 343.2 kB / 0.7819 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.008485, allocations: 239.4 kB / 0.7821 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.008534, allocations: 36 kB / 0.7822 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.008759, allocations: 103.9 kB / 0.7823 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.008886, allocations: 163.5 kB / 0.7824 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.009016, allocations: 155.7 kB / 0.7826 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004376/0.009454, allocations: 406.6 kB / 0.783 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.009456, allocations: 0 / 0.783 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.52e-07/0.009456, allocations: 7.938 kB / 0.783 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.009462, allocations: 0 / 0.783 GB, free: 6.969 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0007786/0.01024, allocations: 0.6129 MB / 0.7836 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.01028, allocations: 8.031 kB / 0.7836 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006039/0.01088, allocations: 200.5 kB / 0.7838 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.01122, allocations: 252.6 kB / 0.784 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.01124, allocations: 29.36 kB / 0.784 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.01129, allocations: 36.38 kB / 0.7841 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.01171, allocations: 497.8 kB / 0.7845 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.01172, allocations: 4.188 kB / 0.7845 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.01175, allocations: 20.36 kB / 0.7846 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/0.01179, allocations: 32.58 kB / 0.7846 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.01195, allocations: 112.4 kB / 0.7847 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.01344, allocations: 1.422 MB / 0.7861 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.01369, allocations: 165.1 kB / 0.7862 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.01374, allocations: 44.84 kB / 0.7863 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.01375, allocations: 0 / 0.7863 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.01377, allocations: 38.5 kB / 0.7863 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.021e-06/0.01377, allocations: 0 / 0.7863 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0004934/0.01427, allocations: 279.1 kB / 0.7866 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.01429, allocations: 59.34 kB / 0.7867 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.01444, allocations: 252.8 kB / 0.7869 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.01445, allocations: 29.7 kB / 0.7869 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.01454, allocations: 216.1 kB / 0.7871 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.01458, allocations: 79.3 kB / 0.7872 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.01464, allocations: 57.64 kB / 0.7873 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.01472, allocations: 342.8 kB / 0.7876 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.483e-05/0.01476, allocations: 23.98 kB / 0.7876 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.617e-05/0.01483, allocations: 118 kB / 0.7877 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.01497, allocations: 172.9 kB / 0.7879 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01498, allocations: 0 / 0.7879 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002399/0.01522, allocations: 222.8 kB / 0.7881 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.01523, allocations: 12.28 kB / 0.7881 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01523, allocations: 4 kB / 0.7881 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/0.01545, allocations: 73.64 kB / 0.7882 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.01561, allocations: 67.91 kB / 0.7882 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.01672, allocations: 2.418 MB / 0.7906 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.01682, allocations: 31.78 kB / 0.7906 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.01683, allocations: 8 kB / 0.7906 GB, free: 14.55 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.001e-05/0.01692, allocations: 132.5 kB / 0.7908 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.01696, allocations: 27.97 kB / 0.7908 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.01699, allocations: 38.11 kB / 0.7908 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01699, allocations: 3.938 kB / 0.7908 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.017, allocations: 8.062 kB / 0.7908 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.017, allocations: 0 / 0.7908 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.01717, allocations: 173.7 kB / 0.791 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01717, allocations: 0 / 0.791 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.01728, allocations: 35.97 kB / 0.791 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001607/0.01744, allocations: 73.69 kB / 0.7911 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.01745, allocations: 4 kB / 0.7911 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.01856, allocations: 2.413 MB / 0.7935 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01856, allocations: 0 / 0.7935 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.0188, allocations: 282.6 kB / 0.7937 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.01885, allocations: 35.78 kB / 0.7938 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01887, allocations: 8.156 kB / 0.7938 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.01895, allocations: 15.92 kB / 0.7938 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.01898, allocations: 23.92 kB / 0.7938 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.01898, allocations: 3.938 kB / 0.7938 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.923e-05/0.01904, allocations: 86.77 kB / 0.7939 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.01904, allocations: 0 / 0.7939 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002356/0.01928, allocations: 107.8 kB / 0.794 GB, free: 10.84 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.126e-05/0.01936, allocations: 88.41 kB / 0.7941 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003001/0.01966, allocations: 353.8 kB / 0.7944 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.01967, allocations: 4 kB / 0.7944 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.01982, allocations: 298.5 kB / 0.7947 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.02005, allocations: 68.86 kB / 0.7948 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/0.02091, allocations: 0.6834 MB / 0.7955 GB, free: 9.258 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.02106, allocations: 227.5 kB / 0.7957 GB, free: 9.02 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.02122, allocations: 111.3 kB / 0.7958 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of SimCode: time 6.61e-07/0.02122, allocations: 0 / 0.7958 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of Templates: time 0.005856/0.02707, allocations: 7.032 MB / 0.8026 GB, free: 1.891 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel > Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.012304938398302]