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.0007004/0.0007004, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009332/0.001634, 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.001072/0.001072, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.00243, 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.011/1.011, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09173/1.102, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.947/1.947, allocations: 389.9 MB / 0.619 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4646/2.412, allocations: 127.1 MB / 0.7432 GB, free: 4.598 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.203e-06/1.203e-06, allocations: 0 / 0.7444 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.885e-05, allocations: 8.922 kB / 0.7444 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.002769/0.002787, allocations: 2.633 MB / 0.747 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.004039, allocations: 1.032 MB / 0.748 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.996e-05/0.004139, allocations: 8.719 kB / 0.748 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.004475, allocations: 113.4 kB / 0.7481 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.004685, allocations: 164.4 kB / 0.7483 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.004878, allocations: 117 kB / 0.7484 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.005167, allocations: 342.8 kB / 0.7487 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.005407, allocations: 174 kB / 0.7489 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.005588, allocations: 199.6 kB / 0.7491 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.005824, allocations: 144.7 kB / 0.7492 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.005849, allocations: 16 kB / 0.7492 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.006006, allocations: 92.77 kB / 0.7493 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.006067, allocations: 71.78 kB / 0.7494 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.006128, allocations: 67.88 kB / 0.7495 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.006469, allocations: 212.1 kB / 0.7497 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-05/0.006486, allocations: 3.984 kB / 0.7497 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.51e-07/0.006486, allocations: 0.5938 kB / 0.7497 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.006503, allocations: 0 / 0.7497 GB, free: 14.02 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.0005594/0.007062, allocations: 465.5 kB / 0.7501 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.007091, allocations: 8.031 kB / 0.7501 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.00749, allocations: 188.9 kB / 0.7503 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.007687, allocations: 179.5 kB / 0.7505 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.007701, allocations: 12.75 kB / 0.7505 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.007721, allocations: 16.38 kB / 0.7505 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.007955, allocations: 284.1 kB / 0.7508 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.007965, allocations: 4.125 kB / 0.7508 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.007982, allocations: 12.38 kB / 0.7508 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.008009, allocations: 19.92 kB / 0.7508 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.172e-05/0.008091, allocations: 63.59 kB / 0.7509 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007053/0.008796, allocations: 0.9027 MB / 0.7518 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.00892, allocations: 61.36 kB / 0.7518 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.00894, allocations: 12.86 kB / 0.7518 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.008946, allocations: 4 kB / 0.7518 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.008966, allocations: 31.38 kB / 0.7519 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.008967, allocations: 0 / 0.7519 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002345/0.009202, allocations: 106.1 kB / 0.752 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.009225, allocations: 55.41 kB / 0.752 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.009317, allocations: 171 kB / 0.7522 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.009328, allocations: 33.7 kB / 0.7522 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.009386, allocations: 164 kB / 0.7524 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.009403, allocations: 27.78 kB / 0.7524 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.009441, allocations: 37.66 kB / 0.7524 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.009512, allocations: 322.8 kB / 0.7527 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.009529, allocations: 18.73 kB / 0.7528 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.273e-05/0.009582, allocations: 79.55 kB / 0.7528 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.675e-05/0.009659, allocations: 109.1 kB / 0.7529 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.009661, allocations: 0 / 0.7529 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001426/0.009804, allocations: 136.6 kB / 0.7531 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.009816, allocations: 4 kB / 0.7531 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.009823, allocations: 4 kB / 0.7531 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.009959, allocations: 27.75 kB / 0.7531 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.01003, allocations: 43.92 kB / 0.7531 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000582/0.01061, allocations: 1.181 MB / 0.7543 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.01067, allocations: 15.83 kB / 0.7543 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.01068, allocations: 12 kB / 0.7543 GB, free: 8.883 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.939e-05/0.01075, allocations: 125.4 kB / 0.7544 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.01077, allocations: 7.984 kB / 0.7544 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.577e-05/0.01078, allocations: 21.95 kB / 0.7545 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.01078, allocations: 0 / 0.7545 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01079, allocations: 5.188 kB / 0.7545 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01079, allocations: 7.875 kB / 0.7545 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.01101, allocations: 260.6 kB / 0.7547 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01101, allocations: 0 / 0.7547 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.01103, allocations: 11.98 kB / 0.7547 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.01106, allocations: 12.88 kB / 0.7548 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.094e-05/0.01115, allocations: 38.33 kB / 0.7548 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.01115, allocations: 0.625 kB / 0.7548 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004717/0.01162, allocations: 1.188 MB / 0.7559 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01162, allocations: 0.6875 kB / 0.756 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.936e-05/0.01172, allocations: 175.1 kB / 0.7561 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.01173, allocations: 4.875 kB / 0.7561 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.01179, allocations: 8.516 kB / 0.7561 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.0118, allocations: 0 / 0.7561 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.01181, allocations: 5.125 kB / 0.7561 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.01184, allocations: 45.88 kB / 0.7562 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01185, allocations: 0 / 0.7562 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001866/0.01203, allocations: 56.66 kB / 0.7562 GB, free: 6.77 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.708e-05/0.01212, allocations: 81.34 kB / 0.7563 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.0124, allocations: 173.3 kB / 0.7565 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/0.01241, allocations: 5.906 kB / 0.7565 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.01247, allocations: 139.4 kB / 0.7566 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.01268, allocations: 36.53 kB / 0.7566 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.01439, allocations: 386.2 kB / 0.757 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.158e-05/0.01444, allocations: 83.97 kB / 0.7571 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.328e-05/0.01449, allocations: 12.02 kB / 0.7571 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.01457, allocations: 83.3 kB / 0.7572 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of SimCode: time 9.52e-07/0.01457, allocations: 1.094 kB / 0.7572 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of Templates: time 0.003729/0.0183, allocations: 1.855 MB / 0.759 GB, free: 3.961 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.948523452505469]