Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.0007701/0.0007701, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007541/0.0007541, allocations: 177.9 kB / 23.22 MB, free: 1.344 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.8471/0.8471, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.00144/0.00144, allocations: 229.3 kB / 260.2 MB, free: 13.02 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.6501/0.6501, allocations: 138.4 MB / 455.1 MB, free: 1.617 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.6475 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.86e-05, allocations: 4.25 kB / 0.6475 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01279/0.01281, allocations: 13.08 MB / 0.6603 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.02376, allocations: 9.016 MB / 0.6691 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009045/0.02467, allocations: 79.31 kB / 0.6692 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.0269, allocations: 1.668 MB / 0.6708 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.02898, allocations: 1.645 MB / 0.6724 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000888/0.02987, allocations: 0.7636 MB / 0.6732 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.03125, allocations: 2.597 MB / 0.6757 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008245/0.03207, allocations: 1.184 MB / 0.6769 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009029/0.03298, allocations: 1.5 MB / 0.6783 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007519/0.03373, allocations: 1.001 MB / 0.6793 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.03386, allocations: 164 kB / 0.6795 GB, free: 380 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006992/0.03456, allocations: 0.7366 MB / 0.6802 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.03491, allocations: 0.6542 MB / 0.6808 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.03533, allocations: 0.6468 MB / 0.6814 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.03729, allocations: 2.804 MB / 0.6842 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.0373, allocations: 7.938 kB / 0.6842 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/0.0373, allocations: 0 / 0.6842 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.03731, allocations: 0 / 0.6842 GB, free: 11.51 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002023/0.03933, allocations: 2.096 MB / 0.6862 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.03936, allocations: 12.75 kB / 0.6862 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005315/0.04468, allocations: 2.106 MB / 0.6883 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.0461, allocations: 1.223 MB / 0.6895 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.04614, allocations: 82.73 kB / 0.6896 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.04631, allocations: 120.4 kB / 0.6897 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003378/0.04969, allocations: 3.089 MB / 0.6927 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.04971, allocations: 11.88 kB / 0.6927 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.04983, allocations: 51.98 kB / 0.6928 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002955/0.05012, allocations: 178.1 kB / 0.6929 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003912/0.05403, allocations: 2.791 MB / 0.6957 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007307/0.06134, allocations: 8.116 MB / 0.7036 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003656/0.065, allocations: 2.221 MB / 0.7058 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.06663, allocations: 1.213 MB / 0.7069 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.838e-05/0.06668, allocations: 9 kB / 0.707 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.0667, allocations: 47.56 kB / 0.707 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=89): time 2.194e-06/0.0667, allocations: 0 / 0.707 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of matching and sorting (n=131): time 0.02299/0.0897, allocations: 12.64 MB / 0.7193 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.08973, allocations: 64.72 kB / 0.7194 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000773/0.0905, allocations: 0.9795 MB / 0.7204 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.605e-05/0.09059, allocations: 49.7 kB / 0.7204 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.09091, allocations: 0.7355 MB / 0.7211 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.09117, allocations: 464 kB / 0.7216 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/0.09148, allocations: 263.5 kB / 0.7218 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.09157, allocations: 357.9 kB / 0.7222 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.09336, allocations: 1.335 MB / 0.7235 GB, free: 2.652 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.0955, allocations: 1.608 MB / 0.725 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003712/0.09921, allocations: 2.991 MB / 0.728 GB, free: 13.86 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.09921, allocations: 8 kB / 0.728 GB, free: 13.85 MB / 0.573 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006218/0.1054, allocations: 4.389 MB / 0.7322 GB, free: 9.41 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1054, allocations: 8 kB / 0.7323 GB, free: 9.402 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1055, allocations: 8 kB / 0.7323 GB, free: 9.395 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002598/0.1081, allocations: 1.427 MB / 0.7337 GB, free: 7.926 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00095/0.109, allocations: 439.2 kB / 0.7341 GB, free: 7.496 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/0.1247, allocations: 24.8 MB / 0.7583 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.1258, allocations: 303.7 kB / 0.7586 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.874e-05/0.1259, allocations: 63.95 kB / 0.7586 GB, free: 13 MB / 0.6042 GB 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005609/0.1264, allocations: 430.5 kB / 0.7591 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.1266, allocations: 163 kB / 0.7592 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006233/0.1328, allocations: 4.397 MB / 0.7635 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1328, allocations: 12 kB / 0.7635 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.1328, allocations: 20 kB / 0.7635 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1328, allocations: 12.02 kB / 0.7636 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007914/0.1408, allocations: 6.137 MB / 0.7695 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1408, allocations: 4 kB / 0.7695 GB, free: 1.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000817/0.1416, allocations: 375.4 kB / 0.7699 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/0.1438, allocations: 1.306 MB / 0.7712 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.088e-05/0.1439, allocations: 35.97 kB / 0.7712 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/0.158, allocations: 23.66 MB / 0.7943 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.158, allocations: 4.156 kB / 0.7943 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00569/0.1637, allocations: 4.139 MB / 0.7984 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/0.1642, allocations: 370.9 kB / 0.7987 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.1643, allocations: 32.03 kB / 0.7988 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/0.1652, allocations: 311.4 kB / 0.799 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.1655, allocations: 136.6 kB / 0.7992 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/0.1655, allocations: 43.97 kB / 0.7992 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005107/0.166, allocations: 0.6506 MB / 0.7999 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.166, allocations: 0 / 0.7999 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001187/0.1672, allocations: 0.5664 MB / 0.8004 GB, free: 0.5859 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002126/0.1674, allocations: 159 kB / 0.8006 GB, free: 432 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005661/0.1731, allocations: 4.951 MB / 0.8054 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1731, allocations: 0 / 0.8054 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003442/0.1765, allocations: 3.425 MB / 0.8087 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.1777, allocations: 0.5041 MB / 0.8092 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/0.1823, allocations: 4.139 MB / 0.8133 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.1829, allocations: 0.8789 MB / 0.8141 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.1832, allocations: 136.3 kB / 0.8143 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of SimCode: time 9.12e-07/0.1832, allocations: 0 / 0.8143 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of Templates: time 0.258/0.4413, allocations: 112.5 MB / 0.9241 GB, free: 155.9 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.577648365870118] Failed to read output from testmodel.py, exit status != 0: 0.4472848065197468 0.45593577599999996 0.41711716899999995 Calling exit ...