Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.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.0008584/0.0008584, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001222/0.002081, 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.0009106/0.0009106, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002278, 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.9797/0.9797, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08944/1.069, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.986/1.986, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4939/2.48, allocations: 127.1 MB / 0.7435 GB, free: 4.531 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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 3.938 kB / 0.7448 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.734e-05, allocations: 8.141 kB / 0.7448 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.002998/0.003015, allocations: 2.631 MB / 0.7474 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.004256, allocations: 1.028 MB / 0.7484 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.004362, allocations: 7.938 kB / 0.7484 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.004679, allocations: 118.9 kB / 0.7485 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.004887, allocations: 161.1 kB / 0.7486 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.00508, allocations: 116.5 kB / 0.7487 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.005392, allocations: 354 kB / 0.7491 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.005607, allocations: 170 kB / 0.7492 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.005792, allocations: 203.5 kB / 0.7494 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.00603, allocations: 139.6 kB / 0.7496 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.006055, allocations: 16 kB / 0.7496 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.00622, allocations: 91.73 kB / 0.7497 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.742e-05/0.006287, allocations: 79.78 kB / 0.7497 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.006344, allocations: 63.88 kB / 0.7498 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.00658, allocations: 204 kB / 0.75 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.00659, allocations: 0 / 0.75 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.01e-07/0.006591, allocations: 0.6875 kB / 0.75 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.0066, allocations: 0 / 0.75 GB, free: 13.94 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005268/0.007127, allocations: 472.9 kB / 0.7505 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.007154, allocations: 8.625 kB / 0.7505 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/0.007591, allocations: 191.4 kB / 0.7506 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.007776, allocations: 178.5 kB / 0.7508 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.007789, allocations: 12.75 kB / 0.7508 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.007811, allocations: 17.12 kB / 0.7508 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.008041, allocations: 279.9 kB / 0.7511 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.008049, allocations: 0.8438 kB / 0.7511 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.008065, allocations: 12.38 kB / 0.7511 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.008092, allocations: 21.02 kB / 0.7511 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.008175, allocations: 62.56 kB / 0.7512 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00081/0.008985, allocations: 0.8975 MB / 0.7521 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.009106, allocations: 65.95 kB / 0.7521 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.009139, allocations: 17.38 kB / 0.7522 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.009147, allocations: 5.719 kB / 0.7522 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.009171, allocations: 30.56 kB / 0.7522 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.009172, allocations: 0 / 0.7522 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002109/0.009383, allocations: 103.3 kB / 0.7523 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.009404, allocations: 55.41 kB / 0.7523 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.233e-05/0.009497, allocations: 167 kB / 0.7525 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.009509, allocations: 34.45 kB / 0.7525 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.009563, allocations: 160 kB / 0.7527 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.009578, allocations: 34.17 kB / 0.7527 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.009615, allocations: 37.66 kB / 0.7528 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.389e-05/0.009679, allocations: 318.8 kB / 0.7531 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.009696, allocations: 12 kB / 0.7531 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-05/0.00974, allocations: 78.5 kB / 0.7532 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/0.009825, allocations: 125.9 kB / 0.7533 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.009827, allocations: 0 / 0.7533 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001324/0.009959, allocations: 124.8 kB / 0.7534 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.009972, allocations: 8 kB / 0.7534 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.009976, allocations: 1.688 kB / 0.7534 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/0.01011, allocations: 33.7 kB / 0.7534 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.01017, allocations: 35.88 kB / 0.7535 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005619/0.01074, allocations: 1.189 MB / 0.7546 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/0.01079, allocations: 19.83 kB / 0.7546 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.0108, allocations: 9.188 kB / 0.7547 GB, free: 8.797 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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 6.323e-05/0.01086, allocations: 124.5 kB / 0.7548 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.01089, allocations: 16.64 kB / 0.7548 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.504e-05/0.0109, allocations: 17.47 kB / 0.7548 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.0109, allocations: 1.125 kB / 0.7548 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.0109, allocations: 0 / 0.7548 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01091, allocations: 3.938 kB / 0.7548 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.01113, allocations: 260.5 kB / 0.7551 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01113, allocations: 0.7812 kB / 0.7551 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.01115, allocations: 11.94 kB / 0.7551 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.01117, allocations: 12.58 kB / 0.7551 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.569e-05/0.01126, allocations: 34.98 kB / 0.7551 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.01126, allocations: 0 / 0.7551 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00047/0.01173, allocations: 1.189 MB / 0.7563 GB, free: 7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01173, allocations: 0 / 0.7563 GB, free: 7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.225e-05/0.01183, allocations: 175.1 kB / 0.7564 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-06/0.01183, allocations: 0 / 0.7564 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.01189, allocations: 9.312 kB / 0.7565 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.0119, allocations: 7.984 kB / 0.7565 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.0119, allocations: 0 / 0.7565 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.01194, allocations: 48.64 kB / 0.7565 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01194, allocations: 0 / 0.7565 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000175/0.01212, allocations: 55.84 kB / 0.7566 GB, free: 6.691 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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 8.052e-05/0.0122, allocations: 78.17 kB / 0.7566 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.01238, allocations: 181.8 kB / 0.7568 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.01239, allocations: 4 kB / 0.7568 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.517e-05/0.01247, allocations: 147.4 kB / 0.757 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.01272, allocations: 266.2 kB / 0.7572 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.01428, allocations: 377.1 kB / 0.7576 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.623e-05/0.01434, allocations: 88.83 kB / 0.7577 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.821e-05/0.01439, allocations: 16.98 kB / 0.7577 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.01446, allocations: 71.36 kB / 0.7577 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.01446, allocations: 0 / 0.7577 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of Templates: time 0.00352/0.01798, allocations: 1.772 MB / 0.7595 GB, free: 3.691 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.832192149944603]