Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001299/0.001299, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001524/0.001524, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9974/0.9974, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001732/0.001732, allocations: 238.6 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7521/0.7521, allocations: 138.4 MB / 455.2 MB, free: 1.5 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.894e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.003755/0.003774, allocations: 3.297 MB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.005653, allocations: 1.254 MB / 0.5595 GB, free: 11.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.005806, allocations: 15.94 kB / 0.5595 GB, free: 11.92 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.00626, allocations: 131.2 kB / 0.5597 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.006605, allocations: 238.5 kB / 0.5599 GB, free: 11.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.006953, allocations: 203.5 kB / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006101/0.007563, allocations: 0.6344 MB / 0.5607 GB, free: 10.72 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004826/0.008046, allocations: 343.1 kB / 0.561 GB, free: 10.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.00836, allocations: 347.3 kB / 0.5614 GB, free: 10.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.008709, allocations: 247.3 kB / 0.5616 GB, free: 9.805 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.008756, allocations: 36 kB / 0.5616 GB, free: 9.77 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.008932, allocations: 107.8 kB / 0.5617 GB, free: 9.664 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.009045, allocations: 167.5 kB / 0.5619 GB, free: 9.5 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.009167, allocations: 159.6 kB / 0.5621 GB, free: 9.344 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.009551, allocations: 406.5 kB / 0.5624 GB, free: 8.945 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.009553, allocations: 0 / 0.5624 GB, free: 8.945 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.009554, allocations: 0 / 0.5624 GB, free: 8.945 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.009559, allocations: 4 kB / 0.5624 GB, free: 8.941 MB / 490.7 MB 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.0008278/0.01039, allocations: 0.7415 MB / 0.5632 GB, free: 8.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.01043, allocations: 8.75 kB / 0.5632 GB, free: 8.152 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006218/0.01105, allocations: 224.2 kB / 0.5634 GB, free: 7.934 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.01137, allocations: 283.4 kB / 0.5637 GB, free: 7.625 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.01139, allocations: 29.38 kB / 0.5637 GB, free: 7.598 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.01144, allocations: 32.38 kB / 0.5637 GB, free: 7.566 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007151/0.01216, allocations: 0.5228 MB / 0.5642 GB, free: 6.961 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.01217, allocations: 4.125 kB / 0.5642 GB, free: 6.957 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.0122, allocations: 24.34 kB / 0.5643 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.186e-05/0.01224, allocations: 36.58 kB / 0.5643 GB, free: 6.898 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.01249, allocations: 167.7 kB / 0.5645 GB, free: 6.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.01396, allocations: 2.047 MB / 0.5665 GB, free: 4.602 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.01428, allocations: 189.5 kB / 0.5666 GB, free: 4.406 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.01436, allocations: 55.66 kB / 0.5667 GB, free: 4.348 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.01437, allocations: 4 kB / 0.5667 GB, free: 4.344 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.0144, allocations: 45.33 kB / 0.5667 GB, free: 4.289 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.0144, allocations: 0 / 0.5667 GB, free: 4.289 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001171/0.01557, allocations: 0.6832 MB / 0.5674 GB, free: 3.559 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.0156, allocations: 55.41 kB / 0.5675 GB, free: 3.492 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.0158, allocations: 316.2 kB / 0.5678 GB, free: 3.168 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.01581, allocations: 29.7 kB / 0.5678 GB, free: 3.133 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.01593, allocations: 282.8 kB / 0.5681 GB, free: 2.852 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.01597, allocations: 87.25 kB / 0.5681 GB, free: 2.766 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.01605, allocations: 67.64 kB / 0.5682 GB, free: 2.688 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.01617, allocations: 0.5117 MB / 0.5687 GB, free: 2.164 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.01624, allocations: 44.62 kB / 0.5687 GB, free: 2.121 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.01637, allocations: 169.7 kB / 0.5689 GB, free: 1.902 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.01658, allocations: 229.5 kB / 0.5691 GB, free: 1.629 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01659, allocations: 4 kB / 0.5691 GB, free: 1.625 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004003/0.01699, allocations: 334.4 kB / 0.5694 GB, free: 1.281 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.017, allocations: 11.94 kB / 0.5695 GB, free: 1.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.017, allocations: 352 / 0.5695 GB, free: 1.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/0.01733, allocations: 130.9 kB / 0.5696 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.01749, allocations: 67.89 kB / 0.5696 GB, free: 1.062 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.01984, allocations: 5.287 MB / 0.5748 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.01995, allocations: 12 kB / 0.5748 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.01997, allocations: 8 kB / 0.5748 GB, free: 11.39 MB / 0.4948 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 (34): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.02007, allocations: 184.6 kB / 0.575 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.02011, allocations: 35.86 kB / 0.575 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.02014, allocations: 34.27 kB / 0.5751 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.02015, allocations: 4 kB / 0.5751 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.02015, allocations: 0 / 0.5751 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.02016, allocations: 3.984 kB / 0.5751 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.02037, allocations: 260.5 kB / 0.5753 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.02038, allocations: 0 / 0.5753 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.02048, allocations: 43.92 kB / 0.5754 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.02075, allocations: 123 kB / 0.5755 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.02076, allocations: 4 kB / 0.5755 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.02291, allocations: 5.287 MB / 0.5807 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.02291, allocations: 0 / 0.5807 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.02331, allocations: 441.2 kB / 0.5811 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.02338, allocations: 43.84 kB / 0.5811 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.02339, allocations: 0 / 0.5811 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.0235, allocations: 15.98 kB / 0.5811 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.02354, allocations: 19.97 kB / 0.5812 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.02354, allocations: 4 kB / 0.5812 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001112/0.02366, allocations: 213.1 kB / 0.5814 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02366, allocations: 0 / 0.5814 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00029/0.02395, allocations: 99.94 kB / 0.5815 GB, free: 4.141 MB / 0.4948 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 (18): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,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.613e-05/0.02403, allocations: 107.2 kB / 0.5816 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005272/0.02456, allocations: 0.6693 MB / 0.5822 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.02456, allocations: 0 / 0.5822 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.02487, allocations: 0.5973 MB / 0.5828 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.02519, allocations: 68.98 kB / 0.5829 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009976/0.02619, allocations: 0.6505 MB / 0.5835 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.398e-05/0.02628, allocations: 128.6 kB / 0.5836 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.02639, allocations: 54.92 kB / 0.5837 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.02644, allocations: 24.44 kB / 0.5837 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.02644, allocations: 3.938 kB / 0.5837 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.006519/0.03296, allocations: 4.413 MB / 0.588 GB, free: 13.36 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.9479544167406857]