Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.0006611/0.0006611, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009182/0.001579, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009586/0.0009586, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009104/0.001869, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9176/0.9176, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07524/0.9929, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00136/0.00136, allocations: 241 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009971/0.002357, allocations: 475.5 kB / 244.7 MB, free: 14.16 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6788/0.6788, allocations: 138.7 MB / 384.1 MB, free: 480 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06532/0.7442, allocations: 42.4 MB / 426.5 MB, free: 5.949 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 427.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.397e-05, allocations: 2.312 kB / 427.8 MB, free: 4.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.1795/0.1795, allocations: 7.846 MB / 435.6 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006757/0.1863, allocations: 6.008 MB / 441.6 MB, free: 13.75 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008068/0.1871, allocations: 82.59 kB / 441.7 MB, free: 13.7 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.1881, allocations: 397 kB / 442.1 MB, free: 13.48 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.1908, allocations: 1.527 MB / 443.6 MB, free: 12.55 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1918, allocations: 0.5695 MB / 444.2 MB, free: 12.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002336/0.1942, allocations: 2.514 MB / 446.7 MB, free: 11.04 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.1955, allocations: 1.14 MB / 447.9 MB, free: 10.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.1975, allocations: 1.714 MB / 449.6 MB, free: 9.582 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.1985, allocations: 0.9283 MB / 450.5 MB, free: 9.094 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.1987, allocations: 132.4 kB / 450.6 MB, free: 9.094 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005926/0.1992, allocations: 304.7 kB / 450.9 MB, free: 9.004 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003865/0.1996, allocations: 0.538 MB / 451.5 MB, free: 8.785 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005836/0.2002, allocations: 0.502 MB / 452 MB, free: 8.59 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.2014, allocations: 1.331 MB / 453.3 MB, free: 7.254 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.2014, allocations: 1.312 kB / 453.3 MB, free: 7.254 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2014, allocations: 4 kB / 453.3 MB, free: 7.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.174e-05/0.2015, allocations: 0 / 453.3 MB, free: 7.25 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002169/0.2036, allocations: 2.224 MB / 455.5 MB, free: 5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.2037, allocations: 8.031 kB / 455.5 MB, free: 4.992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002743/0.2064, allocations: 0.8602 MB / 456.4 MB, free: 4.117 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.2076, allocations: 1.036 MB / 457.4 MB, free: 3.039 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/0.2076, allocations: 86.69 kB / 457.5 MB, free: 2.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.2078, allocations: 128.3 kB / 457.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.2093, allocations: 1.541 MB / 459.2 MB, free: 1.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.2093, allocations: 7.938 kB / 459.2 MB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-05/0.2094, allocations: 52.91 kB / 459.2 MB, free: 1.043 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/0.2095, allocations: 110.2 kB / 459.3 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.2102, allocations: 0.521 MB / 459.9 MB, free: 424 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004637/0.2148, allocations: 5.311 MB / 465.2 MB, free: 10.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007689/0.2156, allocations: 397.3 kB / 465.6 MB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.2158, allocations: 164.9 kB / 465.7 MB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.2159, allocations: 8.5 kB / 465.7 MB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.2159, allocations: 43.06 kB / 465.8 MB, free: 10.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 2.645e-06/0.2159, allocations: 1.75 kB / 465.8 MB, free: 10.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.003261/0.2192, allocations: 1.833 MB / 467.6 MB, free: 8.582 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.2192, allocations: 55.91 kB / 467.7 MB, free: 8.516 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.2197, allocations: 0.8472 MB / 468.5 MB, free: 7.656 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.2197, allocations: 33.7 kB / 468.5 MB, free: 7.617 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/0.2202, allocations: 0.605 MB / 469.2 MB, free: 7.004 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.2203, allocations: 194.3 kB / 469.3 MB, free: 6.812 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.2205, allocations: 142.5 kB / 469.5 MB, free: 6.668 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.2205, allocations: 341.9 kB / 469.8 MB, free: 6.328 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.2207, allocations: 146.9 kB / 470 MB, free: 6.188 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.221, allocations: 379 kB / 470.3 MB, free: 5.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.2215, allocations: 0.571 MB / 470.9 MB, free: 5.086 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2215, allocations: 4 kB / 470.9 MB, free: 5.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001015/0.2225, allocations: 0.7935 MB / 471.7 MB, free: 4.277 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2225, allocations: 8 kB / 471.7 MB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.2226, allocations: 13.12 kB / 471.7 MB, free: 4.258 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007846/0.2233, allocations: 350.2 kB / 472.1 MB, free: 3.914 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.2239, allocations: 211.6 kB / 472.3 MB, free: 3.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003243/0.2271, allocations: 5.443 MB / 477.7 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/0.2276, allocations: 54.94 kB / 477.8 MB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.2276, allocations: 27.97 kB / 477.8 MB, free: 13.83 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (73): * Single equations (assignments): 69 * 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 {(2,2,100.0%), (3,5,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002265/0.2279, allocations: 159.4 kB / 477.9 MB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.228, allocations: 95.83 kB / 478 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.229, allocations: 0.7493 MB / 478.8 MB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.229, allocations: 5.031 kB / 478.8 MB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.229, allocations: 4 kB / 478.8 MB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.229, allocations: 7.984 kB / 478.8 MB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.2308, allocations: 1.414 MB / 480.2 MB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2308, allocations: 0 / 480.2 MB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.2313, allocations: 139.8 kB / 480.4 MB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.2315, allocations: 203.1 kB / 480.6 MB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007242/0.2322, allocations: 340.9 kB / 480.9 MB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.2323, allocations: 19.97 kB / 480.9 MB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/0.2354, allocations: 5.438 MB / 486.3 MB, free: 4.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2354, allocations: 11.97 kB / 486.4 MB, free: 4.809 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009352/0.2363, allocations: 0.7829 MB / 487.1 MB, free: 3.977 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.2364, allocations: 12 kB / 487.1 MB, free: 3.965 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.2368, allocations: 35.98 kB / 487.2 MB, free: 3.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.2369, allocations: 44.41 kB / 487.2 MB, free: 3.887 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.237, allocations: 27.89 kB / 487.3 MB, free: 3.859 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002809/0.2372, allocations: 428.5 kB / 487.7 MB, free: 3.434 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2372, allocations: 4 kB / 487.7 MB, free: 3.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007096/0.2379, allocations: 348 kB / 488 MB, free: 3.09 MB / 458.7 MB 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 (37): * Single equations (assignments): 33 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001612/0.2381, allocations: 96.34 kB / 488.1 MB, free: 2.988 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.2392, allocations: 1.084 MB / 489.2 MB, free: 1.852 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.723e-05/0.2392, allocations: 21.05 kB / 489.2 MB, free: 1.832 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009606/0.2402, allocations: 0.8171 MB / 490 MB, free: 0.9609 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009998/0.2412, allocations: 0.5865 MB / 490.6 MB, free: 428 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00769/0.2489, allocations: 2.343 MB / 493 MB, free: 14.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.2491, allocations: 337.7 kB / 493.3 MB, free: 13.67 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006719/0.2498, allocations: 274.8 kB / 493.6 MB, free: 13.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006797/0.2505, allocations: 395 kB / 493.9 MB, free: 13.02 MB / 474.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2505, allocations: 0 / 493.9 MB, free: 13.02 MB / 474.7 MB Notification: Performance of Templates: time 0.03077/0.2813, allocations: 27.4 MB / 0.5091 GB, free: 2.406 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7206717589870095]