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.0008797/0.0008797, allocations: 84.75 kB / 20.83 MB, free: 3.625 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.0009227/0.0009227, allocations: 173 kB / 24.26 MB, free: 200 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.9463/0.9463, allocations: 177.2 MB / 204.7 MB, free: 5.441 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.954/1.954, allocations: 389.6 MB / 0.6355 GB, free: 12.28 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.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.473e-06/1.473e-06, allocations: 0 / 0.7753 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.302e-05, allocations: 3.406 kB / 0.7753 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003682/0.003705, allocations: 3.345 MB / 0.7786 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.0051, allocations: 1.279 MB / 0.7799 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.005225, allocations: 15.94 kB / 0.7799 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.005626, allocations: 135.8 kB / 0.78 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.005928, allocations: 244.9 kB / 0.7802 GB, free: 292 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.006185, allocations: 197.8 kB / 0.7804 GB, free: 96 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005204/0.006705, allocations: 0.6383 MB / 0.781 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.007027, allocations: 347.2 kB / 0.7814 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.007271, allocations: 351.2 kB / 0.7817 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.007561, allocations: 235.3 kB / 0.7819 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/0.00761, allocations: 36.66 kB / 0.782 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.007781, allocations: 108.3 kB / 0.7821 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.007885, allocations: 163.5 kB / 0.7822 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.007991, allocations: 161.4 kB / 0.7824 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.008315, allocations: 406.5 kB / 0.7828 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.008318, allocations: 0 / 0.7828 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.008319, allocations: 0 / 0.7828 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.008323, allocations: 0.8125 kB / 0.7828 GB, free: 13.69 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.0006587/0.008982, allocations: 0.6041 MB / 0.7834 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.009013, allocations: 13.34 kB / 0.7834 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005379/0.009551, allocations: 202.5 kB / 0.7836 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.009814, allocations: 250.3 kB / 0.7838 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.009835, allocations: 33.36 kB / 0.7838 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.009876, allocations: 33.59 kB / 0.7839 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.01024, allocations: 0.49 MB / 0.7843 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.01025, allocations: 192 / 0.7843 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.01027, allocations: 13.03 kB / 0.7844 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.0103, allocations: 36.58 kB / 0.7844 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.01044, allocations: 118.1 kB / 0.7845 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.0115, allocations: 1.431 MB / 0.7859 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.01173, allocations: 164 kB / 0.7861 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.01177, allocations: 37.62 kB / 0.7861 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.01178, allocations: 7.938 kB / 0.7861 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.0118, allocations: 35.5 kB / 0.7861 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.01181, allocations: 0 / 0.7861 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.000451/0.01226, allocations: 271.5 kB / 0.7864 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.01228, allocations: 55.34 kB / 0.7864 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.01241, allocations: 255.8 kB / 0.7867 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.01243, allocations: 29.7 kB / 0.7867 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.818e-05/0.01251, allocations: 224 kB / 0.7869 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.01255, allocations: 75.38 kB / 0.787 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.01261, allocations: 61.48 kB / 0.7871 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.01269, allocations: 338.8 kB / 0.7874 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.542e-05/0.01273, allocations: 27.98 kB / 0.7874 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.951e-05/0.0128, allocations: 115.7 kB / 0.7875 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.01294, allocations: 172.5 kB / 0.7877 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01294, allocations: 0 / 0.7877 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002369/0.01318, allocations: 219.3 kB / 0.7879 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01319, allocations: 10.17 kB / 0.7879 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.0132, allocations: 4 kB / 0.7879 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.0134, allocations: 77.7 kB / 0.788 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.01356, allocations: 70.33 kB / 0.7881 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.01458, allocations: 2.413 MB / 0.7904 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.23e-05/0.01467, allocations: 31.73 kB / 0.7904 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.01469, allocations: 9.031 kB / 0.7904 GB, free: 5.336 MB / 0.7448 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 8.275e-05/0.01477, allocations: 133.5 kB / 0.7906 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.0148, allocations: 29.81 kB / 0.7906 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.01483, allocations: 26.12 kB / 0.7906 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01484, allocations: 7.938 kB / 0.7906 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.01484, allocations: 3.984 kB / 0.7906 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01484, allocations: 0 / 0.7906 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.01501, allocations: 178.5 kB / 0.7908 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01501, allocations: 7.938 kB / 0.7908 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.01512, allocations: 40.62 kB / 0.7909 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.01528, allocations: 73.98 kB / 0.7909 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.01529, allocations: 4 kB / 0.7909 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009109/0.0162, allocations: 2.41 MB / 0.7933 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.0162, allocations: 0 / 0.7933 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.01643, allocations: 289.5 kB / 0.7936 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.01648, allocations: 35.78 kB / 0.7936 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.0165, allocations: 0.8125 kB / 0.7936 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.01658, allocations: 17.62 kB / 0.7936 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.0166, allocations: 19.91 kB / 0.7936 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.01661, allocations: 4 kB / 0.7936 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.816e-05/0.01667, allocations: 90.75 kB / 0.7937 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01667, allocations: 0 / 0.7937 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002151/0.01688, allocations: 112.3 kB / 0.7938 GB, free: 1.633 MB / 0.7448 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 7.481e-05/0.01696, allocations: 82.33 kB / 0.7939 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.01724, allocations: 372.7 kB / 0.7943 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.01724, allocations: 4.75 kB / 0.7943 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.01739, allocations: 282.4 kB / 0.7945 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.0176, allocations: 68.92 kB / 0.7946 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007574/0.01836, allocations: 0.6416 MB / 0.7952 GB, free: 140 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.691e-05/0.01844, allocations: 124.6 kB / 0.7953 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.383e-05/0.01852, allocations: 33.11 kB / 0.7954 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.01865, allocations: 116.2 kB / 0.7955 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of SimCode: time 5.81e-07/0.01865, allocations: 0 / 0.7955 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of Templates: time 0.005246/0.0239, allocations: 4.088 MB / 0.7995 GB, free: 11.9 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.163720367476344]