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.001059/0.001059, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002418, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001111/0.001111, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00148/0.002591, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.059/1.059, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07883/1.138, allocations: 53.65 MB / 243.2 MB, free: 15.61 MB / 250.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.926/1.926, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4648/2.391, allocations: 127.1 MB / 0.7432 GB, free: 4.625 MB / 0.7136 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.884e-06/1.884e-06, allocations: 0 / 0.7444 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.365e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004944/0.004967, allocations: 3.402 MB / 0.7478 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00254/0.007508, allocations: 1.304 MB / 0.749 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.007729, allocations: 18.31 kB / 0.7491 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.00817, allocations: 151.2 kB / 0.7492 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.008571, allocations: 280.5 kB / 0.7495 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.008941, allocations: 206.8 kB / 0.7497 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007021/0.009643, allocations: 0.685 MB / 0.7503 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000407/0.01005, allocations: 329.8 kB / 0.7507 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.01045, allocations: 404.1 kB / 0.751 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.01089, allocations: 259.3 kB / 0.7513 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.01093, allocations: 40 kB / 0.7513 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.01116, allocations: 104.5 kB / 0.7514 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.01127, allocations: 139.6 kB / 0.7516 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.01139, allocations: 124.5 kB / 0.7517 GB, free: 12 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.01179, allocations: 378.6 kB / 0.752 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.672e-05/0.01181, allocations: 0.625 kB / 0.752 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01181, allocations: 0 / 0.752 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.883e-05/0.01183, allocations: 0.5312 kB / 0.752 GB, free: 11.62 MB / 0.7292 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.000919/0.01275, allocations: 0.697 MB / 0.7527 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.01278, allocations: 12.62 kB / 0.7527 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000658/0.01344, allocations: 279.3 kB / 0.753 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.01377, allocations: 263 kB / 0.7533 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.01379, allocations: 25.36 kB / 0.7533 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.01383, allocations: 37.19 kB / 0.7533 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.01424, allocations: 497.8 kB / 0.7538 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.01425, allocations: 1.594 kB / 0.7538 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.01428, allocations: 16.38 kB / 0.7538 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/0.01432, allocations: 32.58 kB / 0.7538 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.01447, allocations: 117.7 kB / 0.7539 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.01575, allocations: 1.438 MB / 0.7553 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.01616, allocations: 156 kB / 0.7555 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.01621, allocations: 42.91 kB / 0.7555 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.01622, allocations: 4 kB / 0.7555 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.01625, allocations: 34.56 kB / 0.7556 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.01625, allocations: 0 / 0.7556 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0005153/0.01677, allocations: 263.2 kB / 0.7558 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.01679, allocations: 63.28 kB / 0.7559 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.01694, allocations: 252.8 kB / 0.7561 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.01696, allocations: 29.7 kB / 0.7562 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/0.01705, allocations: 229.6 kB / 0.7564 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.01709, allocations: 75.25 kB / 0.7564 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.01716, allocations: 69.48 kB / 0.7565 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.01724, allocations: 334.8 kB / 0.7568 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.01728, allocations: 28.48 kB / 0.7569 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.01736, allocations: 111.5 kB / 0.757 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.0175, allocations: 167.3 kB / 0.7571 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.0175, allocations: 4 kB / 0.7571 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002489/0.01775, allocations: 218.1 kB / 0.7573 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.01777, allocations: 8.906 kB / 0.7573 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.01777, allocations: 0 / 0.7573 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.01801, allocations: 76.84 kB / 0.7574 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.0182, allocations: 73.12 kB / 0.7575 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.01942, allocations: 2.411 MB / 0.7598 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.01954, allocations: 31.73 kB / 0.7599 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.01955, allocations: 12 kB / 0.7599 GB, free: 3.066 MB / 0.7292 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 0.0001025/0.01965, allocations: 130 kB / 0.76 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.01969, allocations: 23.97 kB / 0.76 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.01973, allocations: 39.23 kB / 0.7601 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01973, allocations: 3.938 kB / 0.7601 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.01974, allocations: 4 kB / 0.7601 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01974, allocations: 0.9375 kB / 0.7601 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.01994, allocations: 169.7 kB / 0.7602 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01994, allocations: 0 / 0.7602 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.02008, allocations: 44.97 kB / 0.7603 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.02013, allocations: 40.94 kB / 0.7603 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001739/0.02031, allocations: 73.36 kB / 0.7604 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.02032, allocations: 4 kB / 0.7604 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.02148, allocations: 2.413 MB / 0.7628 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.02148, allocations: 4.656 kB / 0.7628 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.02172, allocations: 289.1 kB / 0.763 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.02174, allocations: 6.562 kB / 0.763 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/0.02183, allocations: 19.92 kB / 0.7631 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.02186, allocations: 7.984 kB / 0.7631 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.02187, allocations: 8 kB / 0.7631 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.369e-05/0.02193, allocations: 86.77 kB / 0.7632 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.02193, allocations: 0 / 0.7632 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002991/0.02223, allocations: 110.9 kB / 0.7633 GB, free: 15.38 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 9.963e-05/0.02233, allocations: 84.34 kB / 0.7633 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003365/0.02267, allocations: 361.9 kB / 0.7637 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/0.02268, allocations: 11.25 kB / 0.7637 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.02284, allocations: 290 kB / 0.764 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.02314, allocations: 92.27 kB / 0.7641 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.02592, allocations: 0.6339 MB / 0.7647 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.18e-05/0.02601, allocations: 120.6 kB / 0.7648 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.02613, allocations: 36.94 kB / 0.7648 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.02627, allocations: 112.4 kB / 0.7649 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.02627, allocations: 0 / 0.7649 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.006666/0.03294, allocations: 4.242 MB / 0.7691 GB, free: 9.508 MB / 0.7448 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.906268795952201]