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.0009051/0.0009051, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.000986/0.000986, allocations: 165.1 kB / 24.96 MB, free: 8.129 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.9222/0.9222, allocations: 177.1 MB / 205.4 MB, free: 5.492 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.84/1.84, allocations: 389.6 MB / 0.6362 GB, free: 12.29 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.422e-06/1.422e-06, allocations: 0.5469 kB / 0.7759 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.434e-05, allocations: 6.25 kB / 0.7759 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003476/0.003491, allocations: 3.352 MB / 0.7792 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.004912, allocations: 1.275 MB / 0.7805 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.00503, allocations: 14.69 kB / 0.7805 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.005417, allocations: 139.1 kB / 0.7806 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.005697, allocations: 242.1 kB / 0.7808 GB, free: 412 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.005929, allocations: 199.5 kB / 0.781 GB, free: 212 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.006354, allocations: 0.6344 MB / 0.7816 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.006656, allocations: 345.8 kB / 0.782 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.006883, allocations: 351.2 kB / 0.7823 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.007171, allocations: 235.9 kB / 0.7825 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.00721, allocations: 41.34 kB / 0.7826 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.007358, allocations: 103.8 kB / 0.7827 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.007456, allocations: 171.5 kB / 0.7828 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.007562, allocations: 156.2 kB / 0.783 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.007876, allocations: 406.6 kB / 0.7834 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.007878, allocations: 1.125 kB / 0.7834 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.007879, allocations: 0 / 0.7834 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.007883, allocations: 0 / 0.7834 GB, free: 13.8 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.00078/0.008663, allocations: 0.6049 MB / 0.784 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.00869, allocations: 9.344 kB / 0.784 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005338/0.009223, allocations: 206.6 kB / 0.7842 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.009472, allocations: 254.2 kB / 0.7844 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.009489, allocations: 29.38 kB / 0.7844 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.009531, allocations: 32.94 kB / 0.7845 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.009868, allocations: 0.49 MB / 0.785 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.009878, allocations: 5.438 kB / 0.785 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.009901, allocations: 12.38 kB / 0.785 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.009935, allocations: 36.58 kB / 0.785 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.01007, allocations: 117.8 kB / 0.7851 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.01111, allocations: 1.423 MB / 0.7865 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.01133, allocations: 162.3 kB / 0.7867 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.01138, allocations: 44.77 kB / 0.7867 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.01139, allocations: 9.125 kB / 0.7867 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.01141, allocations: 34.56 kB / 0.7867 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.01141, allocations: 0 / 0.7867 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0004461/0.01185, allocations: 270.1 kB / 0.787 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.01187, allocations: 55.34 kB / 0.7871 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.01201, allocations: 252.8 kB / 0.7873 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.01203, allocations: 30.8 kB / 0.7873 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.01211, allocations: 224 kB / 0.7875 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.01215, allocations: 75.38 kB / 0.7876 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.01221, allocations: 62.86 kB / 0.7877 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.01229, allocations: 334.8 kB / 0.788 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.675e-05/0.01232, allocations: 27.98 kB / 0.788 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.0124, allocations: 121.2 kB / 0.7881 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.01253, allocations: 167.2 kB / 0.7883 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01253, allocations: 0 / 0.7883 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002245/0.01275, allocations: 219 kB / 0.7885 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.01276, allocations: 8 kB / 0.7885 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01277, allocations: 7.031 kB / 0.7885 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001987/0.01297, allocations: 71.03 kB / 0.7886 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.01313, allocations: 77.17 kB / 0.7887 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.01433, allocations: 2.409 MB / 0.791 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-05/0.01443, allocations: 34.2 kB / 0.791 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.01444, allocations: 15.94 kB / 0.7911 GB, free: 5.445 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.251e-05/0.01452, allocations: 132.6 kB / 0.7912 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.01455, allocations: 27.92 kB / 0.7912 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.01458, allocations: 33.23 kB / 0.7912 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.01459, allocations: 7.938 kB / 0.7912 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01459, allocations: 0 / 0.7912 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01459, allocations: 0 / 0.7912 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.01476, allocations: 177.6 kB / 0.7914 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01476, allocations: 0 / 0.7914 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.01487, allocations: 43.97 kB / 0.7915 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/0.01503, allocations: 66.62 kB / 0.7915 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.01504, allocations: 8 kB / 0.7915 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009169/0.01595, allocations: 2.405 MB / 0.7939 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01595, allocations: 4 kB / 0.7939 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.01619, allocations: 289.3 kB / 0.7942 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.01624, allocations: 36.81 kB / 0.7942 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.01625, allocations: 0 / 0.7942 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.01634, allocations: 20.86 kB / 0.7942 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.01636, allocations: 15.91 kB / 0.7942 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.01637, allocations: 8.781 kB / 0.7942 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.645e-05/0.01642, allocations: 82.78 kB / 0.7943 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3e-08/0.01642, allocations: 1 kB / 0.7943 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002128/0.01664, allocations: 111.7 kB / 0.7944 GB, free: 1.754 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.004e-05/0.01671, allocations: 89.89 kB / 0.7945 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.01698, allocations: 369.4 kB / 0.7949 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.01699, allocations: 0 / 0.7949 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.01713, allocations: 279.7 kB / 0.7951 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.01735, allocations: 85.19 kB / 0.7952 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/0.01814, allocations: 0.6329 MB / 0.7958 GB, free: 260 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.825e-05/0.01821, allocations: 128.6 kB / 0.796 GB, free: 108 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.662e-05/0.0183, allocations: 34.42 kB / 0.796 GB, free: 76 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.01844, allocations: 111.3 kB / 0.7961 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/0.01844, allocations: 0 / 0.7961 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of Templates: time 0.005328/0.02377, allocations: 4.094 MB / 0.8001 GB, free: 12.02 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: 4.6737433560192585]