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.002564/0.002564, allocations: 80.52 kB / 19.96 MB, free: 4.602 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.003024/0.003024, allocations: 177.2 kB / 23.24 MB, free: 1.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 1.659/1.659, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] 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 3.359/3.359, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 GB " [Timeout remaining time 176] 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 2.004e-06/2.004e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.156e-05/5.356e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007871/0.007924, allocations: 4.228 MB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003953/0.01188, allocations: 1.819 MB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/0.01224, allocations: 15.94 kB / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.01433, allocations: 0.5863 MB / 1.008 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0009421/0.01527, allocations: 286.2 kB / 1.008 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008428/0.01611, allocations: 247.3 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0009777/0.01709, allocations: 0.6305 MB / 1.009 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007623/0.01785, allocations: 355.1 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000538/0.01839, allocations: 351.2 kB / 1.009 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006061/0.019, allocations: 235.4 kB / 1.01 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.01908, allocations: 36 kB / 1.01 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005607/0.01964, allocations: 243.2 kB / 1.01 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.01985, allocations: 159.5 kB / 1.01 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.02009, allocations: 159.7 kB / 1.01 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.02122, allocations: 0.623 MB / 1.011 GB, free: 3.094 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.02123, allocations: 4 kB / 1.011 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.844e-06/0.02124, allocations: 4 kB / 1.011 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.02124, allocations: 0 / 1.011 GB, free: 3.086 MB / 0.9636 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.001573/0.02282, allocations: 0.6493 MB / 1.011 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.02287, allocations: 13.34 kB / 1.011 GB, free: 2.395 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009621/0.02384, allocations: 148.5 kB / 1.012 GB, free: 2.25 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.02437, allocations: 288.4 kB / 1.012 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.02441, allocations: 25.36 kB / 1.012 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.693e-05/0.02449, allocations: 36.38 kB / 1.012 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.02566, allocations: 0.6826 MB / 1.013 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.02568, allocations: 192 / 1.013 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.02577, allocations: 16.38 kB / 1.013 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.02587, allocations: 40.56 kB / 1.013 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007947/0.02666, allocations: 382.3 kB / 1.013 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.02943, allocations: 1.66 MB / 1.015 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/0.03004, allocations: 238.5 kB / 1.015 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.03023, allocations: 96.81 kB / 1.015 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.03026, allocations: 4 kB / 1.015 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.03029, allocations: 38.56 kB / 1.015 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=20): time 4.419e-06/0.0303, allocations: 7.984 kB / 1.015 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of matching and sorting (n=23): time 0.002498/0.0328, allocations: 0.8989 MB / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.03285, allocations: 55.41 kB / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.03322, allocations: 277.7 kB / 1.016 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.03326, allocations: 33.7 kB / 1.016 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.03348, allocations: 236 kB / 1.016 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-05/0.03358, allocations: 95.22 kB / 1.017 GB, free: 12.92 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.03371, allocations: 58.03 kB / 1.017 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.03391, allocations: 338.8 kB / 1.017 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.0341, allocations: 104.6 kB / 1.017 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.03439, allocations: 191.7 kB / 1.017 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/0.03506, allocations: 315.5 kB / 1.017 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.03507, allocations: 0 / 1.017 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008481/0.03591, allocations: 438 kB / 1.018 GB, free: 11.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.03594, allocations: 4 kB / 1.018 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.03595, allocations: 4 kB / 1.018 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004024/0.03635, allocations: 106.6 kB / 1.018 GB, free: 11.28 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.03664, allocations: 63.84 kB / 1.018 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004171/0.04082, allocations: 3.997 MB / 1.022 GB, free: 6.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.0411, allocations: 15.94 kB / 1.022 GB, free: 6.895 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.04113, allocations: 12 kB / 1.022 GB, free: 6.883 MB / 0.9792 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.0003109/0.04144, allocations: 181 kB / 1.022 GB, free: 6.699 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/0.04152, allocations: 32.02 kB / 1.022 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.599e-05/0.04159, allocations: 38.27 kB / 1.022 GB, free: 6.629 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.0416, allocations: 4.094 kB / 1.022 GB, free: 6.625 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.04161, allocations: 0 / 1.022 GB, free: 6.625 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.04162, allocations: 3.984 kB / 1.022 GB, free: 6.621 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.04208, allocations: 293.1 kB / 1.023 GB, free: 6.305 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.04208, allocations: 0 / 1.023 GB, free: 6.305 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.04228, allocations: 31.98 kB / 1.023 GB, free: 6.273 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003464/0.04262, allocations: 94.44 kB / 1.023 GB, free: 6.172 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.04264, allocations: 4 kB / 1.023 GB, free: 6.168 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004171/0.04681, allocations: 3.997 MB / 1.027 GB, free: 1.863 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.04682, allocations: 0 / 1.027 GB, free: 1.863 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.0478, allocations: 0.5544 MB / 1.027 GB, free: 1.285 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.04794, allocations: 51.88 kB / 1.027 GB, free: 1.234 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.04798, allocations: 7.938 kB / 1.027 GB, free: 1.227 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.04818, allocations: 12 kB / 1.027 GB, free: 1.215 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.04824, allocations: 19.95 kB / 1.027 GB, free: 1.195 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.04826, allocations: 8 kB / 1.027 GB, free: 1.188 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002466/0.04851, allocations: 185.2 kB / 1.027 GB, free: 1.008 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04851, allocations: 0 / 1.027 GB, free: 1.008 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005568/0.04906, allocations: 99.94 kB / 1.027 GB, free: 0.9102 MB / 0.9792 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 0.0001946/0.04926, allocations: 107.2 kB / 1.028 GB, free: 0.7969 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.05031, allocations: 0.5852 MB / 1.028 GB, free: 180 kB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.05032, allocations: 8.188 kB / 1.028 GB, free: 172 kB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006243/0.05094, allocations: 463.8 kB / 1.029 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.05147, allocations: 76.27 kB / 1.029 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.05295, allocations: 0.6708 MB / 1.029 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.05326, allocations: 224 kB / 1.03 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002196/0.05348, allocations: 58.92 kB / 1.03 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.05354, allocations: 20.5 kB / 1.03 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of SimCode: time 2.154e-06/0.05354, allocations: 4 kB / 1.03 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of Templates: time 0.01116/0.0647, allocations: 4.333 MB / 1.034 GB, free: 10.34 MB / 0.9948 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: 9.869712056592107]