Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001596/0.001596, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001857/0.001857, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.002623/0.002623, allocations: 287.3 kB / 313.5 MB, free: 2.801 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.205/1.205, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [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.002962/0.002962, allocations: 100.4 kB / 0.7408 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1634, allocations: 95.39 MB / 0.834 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01299/0.1764, allocations: 10.49 MB / 0.8442 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005581/0.182, allocations: 3.31 MB / 0.8475 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005133/0.1825, allocations: 55.62 kB / 0.8475 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.1841, allocations: 0.6102 MB / 0.8481 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.1856, allocations: 0.7818 MB / 0.8489 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.1871, allocations: 0.7547 MB / 0.8496 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003171/0.1903, allocations: 2.992 MB / 0.8525 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.1922, allocations: 1.419 MB / 0.8539 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.1938, allocations: 1.285 MB / 0.8552 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.1961, allocations: 1.718 MB / 0.8568 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003299/0.1965, allocations: 236 kB / 0.8571 GB, free: 396 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009299/0.1974, allocations: 0.5033 MB / 0.8576 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.1985, allocations: 1.095 MB / 0.8586 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.1997, allocations: 1.112 MB / 0.8597 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003742/0.2034, allocations: 3.691 MB / 0.8633 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2034, allocations: 0 / 0.8633 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2034, allocations: 3.938 kB / 0.8633 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.942e-05/0.2035, allocations: 7.938 kB / 0.8633 GB, free: 9.953 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003982/0.2075, allocations: 2.111 MB / 0.8654 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2075, allocations: 12.75 kB / 0.8654 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008568/0.2161, allocations: 1.322 MB / 0.8667 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/0.219, allocations: 1.262 MB / 0.8679 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.2191, allocations: 111.4 kB / 0.868 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/0.2195, allocations: 156.3 kB / 0.8682 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005531/0.225, allocations: 3.437 MB / 0.8715 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/0.2251, allocations: 8 kB / 0.8716 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.2253, allocations: 67.97 kB / 0.8716 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002667/0.2255, allocations: 207.1 kB / 0.8718 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005104/0.2306, allocations: 3.124 MB / 0.8749 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01852/0.2492, allocations: 13.47 MB / 0.888 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.2517, allocations: 1.618 MB / 0.8896 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/0.2537, allocations: 1.327 MB / 0.8909 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.2539, allocations: 13 kB / 0.8909 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.2539, allocations: 39.56 kB / 0.8909 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/0.2539, allocations: 0 / 0.8909 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=183): time 0.1465/0.4004, allocations: 36.18 MB / 0.9263 GB, free: 8.383 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.4005, allocations: 77.39 kB / 0.9263 GB, free: 8.297 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.4022, allocations: 1.054 MB / 0.9274 GB, free: 7.219 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002837/0.4025, allocations: 57.7 kB / 0.9274 GB, free: 7.156 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006794/0.4032, allocations: 0.8093 MB / 0.9282 GB, free: 6.336 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008061/0.404, allocations: 0.6584 MB / 0.9289 GB, free: 5.672 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008543/0.4049, allocations: 359.5 kB / 0.9292 GB, free: 5.312 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.405, allocations: 309.1 kB / 0.9295 GB, free: 5.008 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003053/0.4081, allocations: 1.928 MB / 0.9314 GB, free: 3.078 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/0.4115, allocations: 2.285 MB / 0.9336 GB, free: 0.668 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006765/0.4182, allocations: 4.39 MB / 0.9379 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.4182, allocations: 4 kB / 0.9379 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02111/0.4394, allocations: 8.879 MB / 0.9466 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.4394, allocations: 15.94 kB / 0.9466 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/0.4394, allocations: 8 kB / 0.9466 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0174/0.4568, allocations: 4.967 MB / 0.9515 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009026/0.4577, allocations: 195.6 kB / 0.9516 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4165/0.8742, allocations: 38.54 MB / 0.9893 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.876, allocations: 98.19 kB / 0.9894 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.8762, allocations: 67.23 kB / 0.9894 GB, free: 130.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001096/0.8773, allocations: 0.8104 MB / 0.9902 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.8776, allocations: 147.9 kB / 0.9904 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01973/0.8973, allocations: 8.734 MB / 0.9989 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.8973, allocations: 21.75 kB / 0.9989 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001063/0.8974, allocations: 30.16 kB / 0.9989 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/0.8974, allocations: 11.58 kB / 0.999 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02341/0.9208, allocations: 13.25 MB / 1.012 GB, free: 123.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/0.9209, allocations: 3.906 kB / 1.012 GB, free: 123.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.9214, allocations: 120.7 kB / 1.012 GB, free: 123.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01466/0.936, allocations: 4.84 MB / 1.017 GB, free: 120.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002495/0.9363, allocations: 31.25 kB / 1.017 GB, free: 120.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04247/0.9787, allocations: 36.45 MB / 1.052 GB, free: 85.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.9787, allocations: 15.86 kB / 1.052 GB, free: 85.35 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/0.9948, allocations: 8.448 MB / 1.061 GB, free: 76.81 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/0.9962, allocations: 0.5864 MB / 1.061 GB, free: 76.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002782/0.9965, allocations: 36 kB / 1.061 GB, free: 76.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.9977, allocations: 87.89 kB / 1.061 GB, free: 76.11 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006536/0.9983, allocations: 172.2 kB / 1.061 GB, free: 75.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.9985, allocations: 53.06 kB / 1.062 GB, free: 75.89 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007272/0.9992, allocations: 0.7418 MB / 1.062 GB, free: 75.14 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.9992, allocations: 0 / 1.062 GB, free: 75.14 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002458/1.002, allocations: 1.004 MB / 1.063 GB, free: 74.14 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002458/1.002, allocations: 137.2 kB / 1.063 GB, free: 74 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00767/1.01, allocations: 5.753 MB / 1.069 GB, free: 68.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.01, allocations: 4 kB / 1.069 GB, free: 68.19 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006537/1.016, allocations: 3.785 MB / 1.073 GB, free: 64.36 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/1.018, allocations: 233.6 kB / 1.073 GB, free: 64.15 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006831/1.024, allocations: 5.482 MB / 1.078 GB, free: 58.64 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/1.026, allocations: 1.894 MB / 1.08 GB, free: 56.71 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/1.026, allocations: 63.44 kB / 1.08 GB, free: 56.65 MB / 0.7169 GB Notification: Performance of SimCode: time 9.12e-07/1.026, allocations: 4 kB / 1.08 GB, free: 56.64 MB / 0.7169 GB Notification: Performance of Templates: time 0.05669/1.083, allocations: 69.5 MB / 1.148 GB, free: 3.16 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.70257535809651] Failed to read output from testmodel.py, exit status != 0: 1.0904433929827064 1.105105373 0.898695001 Calling exit ...