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.0007542/0.0007542, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008712/0.0008712, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9182/0.9182, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.001596/0.001596, allocations: 249.8 kB / 260.5 MB, free: 12.68 MB / 250.7 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 0.688/0.688, allocations: 138.4 MB / 402.2 MB, free: 0.5664 MB / 362.7 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.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 9.82e-07/9.82e-07, allocations: 0 / 462.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.255e-06/9.237e-06, allocations: 4.891 kB / 462.3 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006024/0.006034, allocations: 7.655 MB / 470 MB, free: 11.03 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005893/0.01193, allocations: 5.914 MB / 475.9 MB, free: 5.145 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004994/0.01243, allocations: 79.31 kB / 476 MB, free: 5.066 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006836/0.01311, allocations: 381.9 kB / 476.3 MB, free: 4.691 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.01502, allocations: 1.427 MB / 477.8 MB, free: 3.277 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007265/0.01575, allocations: 0.5719 MB / 478.3 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001723/0.01747, allocations: 2.376 MB / 480.7 MB, free: 336 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.01856, allocations: 1.207 MB / 481.9 MB, free: 15.08 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.02002, allocations: 1.555 MB / 483.5 MB, free: 13.53 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000825/0.02084, allocations: 0.8454 MB / 484.3 MB, free: 12.68 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.02099, allocations: 139.9 kB / 484.4 MB, free: 12.55 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.02136, allocations: 294.2 kB / 484.7 MB, free: 12.26 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.0217, allocations: 0.5919 MB / 485.3 MB, free: 11.67 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004616/0.02217, allocations: 0.5845 MB / 485.9 MB, free: 11.08 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.0232, allocations: 1.405 MB / 487.3 MB, free: 9.672 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.02321, allocations: 4 kB / 487.3 MB, free: 9.668 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.02321, allocations: 0 / 487.3 MB, free: 9.668 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.02322, allocations: 0 / 487.3 MB, free: 9.668 MB / 442.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.001556/0.02478, allocations: 1.85 MB / 489.2 MB, free: 7.789 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.02481, allocations: 9.969 kB / 489.2 MB, free: 7.781 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/0.02754, allocations: 0.7847 MB / 490 MB, free: 7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.02858, allocations: 1.031 MB / 491 MB, free: 5.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.02863, allocations: 91.89 kB / 491.1 MB, free: 5.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/0.02889, allocations: 120.3 kB / 491.2 MB, free: 5.723 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.03073, allocations: 1.543 MB / 492.7 MB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.03076, allocations: 18.09 kB / 492.8 MB, free: 3.977 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-05/0.03085, allocations: 53.02 kB / 492.8 MB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.031, allocations: 102.2 kB / 492.9 MB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.03166, allocations: 0.5198 MB / 493.4 MB, free: 3.305 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.03592, allocations: 5.296 MB / 498.7 MB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007657/0.03669, allocations: 399.9 kB / 499.1 MB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.0369, allocations: 169.7 kB / 499.3 MB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.03694, allocations: 10.53 kB / 499.3 MB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.03696, allocations: 43 kB / 499.3 MB, free: 13.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 1.943e-06/0.03696, allocations: 0 / 499.3 MB, free: 13.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=54): time 0.003262/0.04022, allocations: 1.836 MB / 0.4894 GB, free: 11.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.04024, allocations: 60.88 kB / 0.4895 GB, free: 11.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004965/0.04074, allocations: 0.8395 MB / 0.4903 GB, free: 10.56 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.0408, allocations: 33.7 kB / 0.4903 GB, free: 10.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.04104, allocations: 0.6083 MB / 0.4909 GB, free: 9.902 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.04116, allocations: 186.4 kB / 0.4911 GB, free: 9.719 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.04134, allocations: 150.5 kB / 0.4913 GB, free: 9.566 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.04141, allocations: 338.5 kB / 0.4916 GB, free: 9.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.04161, allocations: 145.1 kB / 0.4917 GB, free: 9.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.04191, allocations: 389.3 kB / 0.4921 GB, free: 8.629 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.04244, allocations: 0.564 MB / 0.4926 GB, free: 7.988 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.04244, allocations: 4.531 kB / 0.4926 GB, free: 7.984 MB / 458.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00105/0.04349, allocations: 0.7952 MB / 0.4934 GB, free: 7.176 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.04351, allocations: 11.94 kB / 0.4934 GB, free: 7.164 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.04352, allocations: 13.62 kB / 0.4934 GB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007859/0.0443, allocations: 346.4 kB / 0.4938 GB, free: 6.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.04477, allocations: 167.7 kB / 0.4939 GB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/0.04788, allocations: 5.423 MB / 0.4992 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.04832, allocations: 47.97 kB / 0.4993 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.04837, allocations: 35.91 kB / 0.4993 GB, free: 0.7617 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.0002153/0.04859, allocations: 156.5 kB / 0.4995 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.04872, allocations: 104.4 kB / 0.4996 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.04975, allocations: 0.7495 MB / 0.5003 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.04975, allocations: 9.219 kB / 0.5003 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.04976, allocations: 7.938 kB / 0.5003 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.04976, allocations: 0 / 0.5003 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.05171, allocations: 1.411 MB / 0.5017 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.05171, allocations: 0 / 0.5017 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.05205, allocations: 99.83 kB / 0.5018 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007263/0.05278, allocations: 335.6 kB / 0.5021 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.05282, allocations: 23.91 kB / 0.5021 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002794/0.05562, allocations: 5.419 MB / 0.5074 GB, free: 7.965 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.05562, allocations: 11.94 kB / 0.5074 GB, free: 7.953 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.05678, allocations: 0.789 MB / 0.5082 GB, free: 7.117 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.05703, allocations: 203.1 kB / 0.5084 GB, free: 6.918 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.05713, allocations: 15.98 kB / 0.5084 GB, free: 6.902 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.05766, allocations: 35.98 kB / 0.5084 GB, free: 6.867 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.05778, allocations: 44.41 kB / 0.5085 GB, free: 6.824 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/0.05784, allocations: 27.91 kB / 0.5085 GB, free: 6.797 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003786/0.05822, allocations: 424.6 kB / 0.5089 GB, free: 6.375 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05822, allocations: 0 / 0.5089 GB, free: 6.375 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008908/0.05911, allocations: 344 kB / 0.5092 GB, free: 6.039 MB / 474.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.0001618/0.05928, allocations: 100.4 kB / 0.5093 GB, free: 5.934 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.06064, allocations: 1.08 MB / 0.5104 GB, free: 4.801 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.916e-05/0.06066, allocations: 12.5 kB / 0.5104 GB, free: 4.789 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.06183, allocations: 0.8156 MB / 0.5112 GB, free: 3.918 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.06307, allocations: 495.1 kB / 0.5117 GB, free: 3.469 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.06616, allocations: 2.264 MB / 0.5139 GB, free: 1.148 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.06645, allocations: 336.5 kB / 0.5142 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008245/0.06727, allocations: 280 kB / 0.5145 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/0.0684, allocations: 399 kB / 0.5149 GB, free: 140 kB / 474.7 MB Notification: Performance of SimCode: time 5.82e-07/0.0684, allocations: 0 / 0.5149 GB, free: 140 kB / 474.7 MB Notification: Performance of Templates: time 0.0348/0.1032, allocations: 26.54 MB / 0.5408 GB, free: 6.34 MB / 0.4948 GB " [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.708950361702591]