Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.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.0009244/0.0009244, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.00221, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009814/0.0009814, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001274/0.002256, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9326/0.9326, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09712/1.03, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.911/1.911, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4997/2.411, allocations: 127.1 MB / 0.7435 GB, free: 4.535 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.7448 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.779e-05, allocations: 4.031 kB / 0.7448 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003448/0.003466, allocations: 3.061 MB / 0.7478 GB, free: 224 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.005373, allocations: 1.168 MB / 0.7489 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.005554, allocations: 11.94 kB / 0.7489 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.005951, allocations: 143.2 kB / 0.7491 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.006299, allocations: 226.6 kB / 0.7493 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.006599, allocations: 157.4 kB / 0.7494 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005151/0.007115, allocations: 0.5255 MB / 0.7499 GB, free: 14 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.007454, allocations: 280.7 kB / 0.7502 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.007764, allocations: 307.8 kB / 0.7505 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.008107, allocations: 220.9 kB / 0.7507 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.008149, allocations: 28 kB / 0.7507 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.008368, allocations: 103.7 kB / 0.7508 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.008473, allocations: 119.7 kB / 0.751 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.537e-05/0.008569, allocations: 100.8 kB / 0.751 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.008988, allocations: 306.9 kB / 0.7513 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.767e-05/0.009005, allocations: 0.5938 kB / 0.7513 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.714e-06/0.009007, allocations: 0 / 0.7513 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.009024, allocations: 0.5938 kB / 0.7513 GB, free: 12.57 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007302/0.009754, allocations: 0.5919 MB / 0.7519 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.009786, allocations: 12.03 kB / 0.7519 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006063/0.01039, allocations: 258.9 kB / 0.7522 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.01067, allocations: 218.6 kB / 0.7524 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.01069, allocations: 22.5 kB / 0.7524 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.01072, allocations: 28.38 kB / 0.7524 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.01105, allocations: 419.4 kB / 0.7528 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.01106, allocations: 192 / 0.7528 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.01108, allocations: 17.44 kB / 0.7529 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.789e-05/0.01112, allocations: 32.56 kB / 0.7529 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.01125, allocations: 105.7 kB / 0.753 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.01237, allocations: 1.322 MB / 0.7543 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.01254, allocations: 97.36 kB / 0.7544 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.74e-05/0.01263, allocations: 63.75 kB / 0.7544 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.01264, allocations: 4 kB / 0.7544 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.01267, allocations: 34.5 kB / 0.7545 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.01267, allocations: 4 kB / 0.7545 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.00026/0.01293, allocations: 124.9 kB / 0.7546 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.01295, allocations: 51.41 kB / 0.7546 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.01307, allocations: 216.9 kB / 0.7548 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.01309, allocations: 25.7 kB / 0.7549 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.01327, allocations: 208.1 kB / 0.7551 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.0133, allocations: 51.52 kB / 0.7551 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.01335, allocations: 50.73 kB / 0.7552 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.01343, allocations: 326.8 kB / 0.7555 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.01346, allocations: 20.45 kB / 0.7555 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.01353, allocations: 113.3 kB / 0.7556 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.01365, allocations: 159.9 kB / 0.7558 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01365, allocations: 0 / 0.7558 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001922/0.01385, allocations: 165.3 kB / 0.7559 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01386, allocations: 8.625 kB / 0.7559 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.01387, allocations: 4.625 kB / 0.7559 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.01402, allocations: 27.06 kB / 0.756 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.01414, allocations: 59.91 kB / 0.756 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006292/0.01477, allocations: 1.194 MB / 0.7572 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.599e-05/0.01487, allocations: 23.89 kB / 0.7572 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.01488, allocations: 11.94 kB / 0.7572 GB, free: 6.133 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.777e-05/0.01497, allocations: 135.9 kB / 0.7573 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.01499, allocations: 19.97 kB / 0.7574 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.01502, allocations: 21.47 kB / 0.7574 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01502, allocations: 3.984 kB / 0.7574 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01502, allocations: 0 / 0.7574 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.01503, allocations: 4 kB / 0.7574 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.01548, allocations: 0.5755 MB / 0.758 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.01548, allocations: 4 kB / 0.758 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.01553, allocations: 23.98 kB / 0.758 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.01558, allocations: 31.8 kB / 0.758 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.859e-05/0.01566, allocations: 30.33 kB / 0.758 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.01567, allocations: 8 kB / 0.758 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005602/0.01623, allocations: 1.197 MB / 0.7592 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01623, allocations: 3.938 kB / 0.7592 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.01641, allocations: 289.6 kB / 0.7595 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.01643, allocations: 8 kB / 0.7595 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.01651, allocations: 9.312 kB / 0.7595 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.01653, allocations: 19.91 kB / 0.7595 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.01653, allocations: 4 kB / 0.7595 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.565e-05/0.01659, allocations: 72.19 kB / 0.7596 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01659, allocations: 0 / 0.7596 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002485/0.01684, allocations: 79.78 kB / 0.7597 GB, free: 3.406 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.11e-05/0.01693, allocations: 89.92 kB / 0.7598 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.01717, allocations: 215.8 kB / 0.76 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.01718, allocations: 0.7812 kB / 0.76 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.01731, allocations: 233 kB / 0.7602 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.01768, allocations: 433.8 kB / 0.7606 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.01968, allocations: 0.5603 MB / 0.7612 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.855e-05/0.01974, allocations: 108.3 kB / 0.7613 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.858e-05/0.01984, allocations: 30.58 kB / 0.7613 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.01995, allocations: 95.33 kB / 0.7614 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of SimCode: time 7.22e-07/0.01995, allocations: 0 / 0.7614 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of Templates: time 0.004727/0.02468, allocations: 2.72 MB / 0.764 GB, free: 14.94 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.798237909562886]