Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001601/0.001601, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 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.00152/0.00152, allocations: 221.5 kB / 23.01 MB, free: 4.605 MB / 14.72 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002646/0.002646, allocations: 290.8 kB / 313.5 MB, free: 2.855 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.224/1.224, allocations: 180.6 MB / 0.5377 GB, free: 13.09 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002951/0.002951, allocations: 104.1 kB / 0.7408 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.189, allocations: 95.39 MB / 0.8339 GB, free: 8.23 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.005131/0.1941, allocations: 3.19 MB / 0.8371 GB, free: 5.023 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002418/0.1965, allocations: 1.406 MB / 0.8384 GB, free: 3.609 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.1967, allocations: 7.938 kB / 0.8384 GB, free: 3.602 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.1977, allocations: 354.7 kB / 0.8388 GB, free: 3.254 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.1981, allocations: 147.2 kB / 0.8389 GB, free: 3.109 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.1985, allocations: 131.6 kB / 0.839 GB, free: 2.98 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.1989, allocations: 310.9 kB / 0.8393 GB, free: 2.676 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.1993, allocations: 180.6 kB / 0.8395 GB, free: 2.496 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.1995, allocations: 131.5 kB / 0.8396 GB, free: 2.367 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.1998, allocations: 147.5 kB / 0.8398 GB, free: 2.223 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.1998, allocations: 20 kB / 0.8398 GB, free: 2.203 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.2001, allocations: 171.6 kB / 0.84 GB, free: 2.035 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2003, allocations: 79.73 kB / 0.84 GB, free: 1.957 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2004, allocations: 111.5 kB / 0.8401 GB, free: 1.848 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.2009, allocations: 338.8 kB / 0.8405 GB, free: 1.516 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2009, allocations: 0 / 0.8405 GB, free: 1.516 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2009, allocations: 0 / 0.8405 GB, free: 1.516 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2009, allocations: 0 / 0.8405 GB, free: 1.516 MB / 0.5763 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.0008923/0.2018, allocations: 461.5 kB / 0.8409 GB, free: 1.031 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2018, allocations: 9.344 kB / 0.8409 GB, free: 1.023 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005854/0.2024, allocations: 80.72 kB / 0.841 GB, free: 0.9453 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.2027, allocations: 183.2 kB / 0.8412 GB, free: 0.7422 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.2028, allocations: 20.73 kB / 0.8412 GB, free: 0.7227 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.2028, allocations: 20.38 kB / 0.8412 GB, free: 0.7031 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.2033, allocations: 303.3 kB / 0.8415 GB, free: 396 kB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2033, allocations: 0 / 0.8415 GB, free: 396 kB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.2034, allocations: 11.98 kB / 0.8415 GB, free: 384 kB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.2034, allocations: 12.38 kB / 0.8415 GB, free: 372 kB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.2037, allocations: 212.8 kB / 0.8417 GB, free: 160 kB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.2057, allocations: 1.418 MB / 0.8431 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.2059, allocations: 90.59 kB / 0.8432 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.785e-05/0.206, allocations: 36.84 kB / 0.8432 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.966e-06/0.206, allocations: 0 / 0.8432 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.2061, allocations: 34.56 kB / 0.8433 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2061, allocations: 0 / 0.8433 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0005092/0.2066, allocations: 154.5 kB / 0.8434 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.2066, allocations: 55.39 kB / 0.8435 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.2069, allocations: 201.3 kB / 0.8436 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.2069, allocations: 25.7 kB / 0.8437 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.207, allocations: 168 kB / 0.8438 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.2071, allocations: 27.81 kB / 0.8439 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.2071, allocations: 33.7 kB / 0.8439 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.2073, allocations: 330.8 kB / 0.8442 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.436e-05/0.2074, allocations: 27.98 kB / 0.8442 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.2075, allocations: 114.6 kB / 0.8443 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.2077, allocations: 144.4 kB / 0.8445 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2077, allocations: 0 / 0.8445 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003352/0.208, allocations: 186.4 kB / 0.8447 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2081, allocations: 12.03 kB / 0.8447 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2081, allocations: 0 / 0.8447 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/0.2082, allocations: 28.84 kB / 0.8447 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.2084, allocations: 27.92 kB / 0.8447 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.2097, allocations: 1.318 MB / 0.846 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.2098, allocations: 19.84 kB / 0.846 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.2098, allocations: 8 kB / 0.846 GB, free: 11.31 MB / 0.5919 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 0.0001793/0.21, allocations: 154.5 kB / 0.8462 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.21, allocations: 7.953 kB / 0.8462 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.2101, allocations: 17.39 kB / 0.8462 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2101, allocations: 4 kB / 0.8462 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2101, allocations: 0 / 0.8462 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2101, allocations: 0 / 0.8462 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/0.2107, allocations: 426.2 kB / 0.8466 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2107, allocations: 8 kB / 0.8466 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.2107, allocations: 12 kB / 0.8466 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-05/0.2108, allocations: 20.84 kB / 0.8467 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.2108, allocations: 4 kB / 0.8467 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.212, allocations: 1.32 MB / 0.848 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.212, allocations: 4.031 kB / 0.848 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.2122, allocations: 212.7 kB / 0.8482 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.2123, allocations: 15.94 kB / 0.8482 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.2123, allocations: 4.094 kB / 0.8482 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.2124, allocations: 7.938 kB / 0.8482 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.2125, allocations: 15.91 kB / 0.8482 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.2125, allocations: 0 / 0.8482 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001551/0.2126, allocations: 147.1 kB / 0.8483 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2126, allocations: 0 / 0.8483 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003451/0.213, allocations: 55.84 kB / 0.8484 GB, free: 8.703 MB / 0.5919 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 0.0001446/0.2131, allocations: 99.25 kB / 0.8485 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004402/0.2136, allocations: 206.5 kB / 0.8487 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2136, allocations: 0 / 0.8487 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.2137, allocations: 147.3 kB / 0.8488 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.2141, allocations: 34.52 kB / 0.8489 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007578/0.2149, allocations: 392.5 kB / 0.8492 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.2153, allocations: 0.7515 MB / 0.85 GB, free: 7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.2154, allocations: 15.44 kB / 0.85 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.2154, allocations: 0 / 0.85 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of Templates: time 0.005853/0.2212, allocations: 2.995 MB / 0.8529 GB, free: 3.996 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.23373655602336] Failed to read output from testmodel.py, exit status != 0: 0.2300440762192011 0.25085380199999996 0.045870607 Calling exit ...