Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001335/0.001335, 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.001559/0.001559, 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 1.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.00163/0.00163, allocations: 245.6 kB / 260.5 MB, free: 12.69 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.7868/0.7868, allocations: 138.4 MB / 402.2 MB, free: 0.5625 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 462.4 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.361e-05, allocations: 2.312 kB / 462.4 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00447/0.004484, allocations: 4.186 MB / 466.6 MB, free: 14.16 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.007516, allocations: 1.592 MB / 468.1 MB, free: 12.8 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004716/0.007987, allocations: 48.12 kB / 468.2 MB, free: 12.75 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.008586, allocations: 192.8 kB / 468.4 MB, free: 12.57 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006669/0.009253, allocations: 407.7 kB / 468.8 MB, free: 12.17 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.01002, allocations: 381.9 kB / 469.2 MB, free: 11.8 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.01103, allocations: 1.143 MB / 470.3 MB, free: 10.65 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006787/0.0117, allocations: 0.5553 MB / 470.8 MB, free: 10.1 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006701/0.01237, allocations: 0.6051 MB / 471.5 MB, free: 9.492 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005223/0.0129, allocations: 439.6 kB / 471.9 MB, free: 9.066 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.676e-05/0.01297, allocations: 56 kB / 471.9 MB, free: 9.012 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.01324, allocations: 144.8 kB / 472.1 MB, free: 8.871 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.01345, allocations: 303.2 kB / 472.4 MB, free: 8.574 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005133/0.01397, allocations: 275.3 kB / 472.6 MB, free: 8.305 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.01458, allocations: 0.6626 MB / 473.3 MB, free: 7.641 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01458, allocations: 0 / 473.3 MB, free: 7.641 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01458, allocations: 1.5 kB / 473.3 MB, free: 7.641 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.0146, allocations: 0 / 473.3 MB, free: 7.641 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009564/0.01555, allocations: 0.9198 MB / 474.2 MB, free: 6.703 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.01559, allocations: 14.62 kB / 474.2 MB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009202/0.01651, allocations: 256.3 kB / 474.5 MB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006115/0.01712, allocations: 0.5108 MB / 475 MB, free: 5.914 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.01716, allocations: 53.67 kB / 475.1 MB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.01722, allocations: 61.17 kB / 475.1 MB, free: 5.805 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006145/0.01783, allocations: 0.7855 MB / 475.9 MB, free: 4.883 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.01786, allocations: 13.3 kB / 475.9 MB, free: 4.871 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.0179, allocations: 28.36 kB / 475.9 MB, free: 4.844 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.205e-05/0.01796, allocations: 69.22 kB / 476 MB, free: 4.777 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.01824, allocations: 257.2 kB / 476.3 MB, free: 4.527 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/0.02099, allocations: 3.865 MB / 480.1 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.02139, allocations: 257.2 kB / 480.4 MB, free: 272 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.0217, allocations: 221 kB / 480.6 MB, free: 56 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.02172, allocations: 8 kB / 480.6 MB, free: 48 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.02175, allocations: 34.56 kB / 480.6 MB, free: 4 kB / 426.7 MB Notification: Performance of pre-optimization done (n=41): time 1.683e-06/0.02175, allocations: 0 / 480.6 MB, free: 4 kB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.001606/0.02335, allocations: 0.8727 MB / 481.5 MB, free: 15.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.02338, allocations: 55.41 kB / 481.6 MB, free: 15.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.02361, allocations: 423 kB / 482 MB, free: 14.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.02364, allocations: 29.7 kB / 482 MB, free: 14.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.02379, allocations: 360.9 kB / 482.4 MB, free: 14.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.404e-05/0.02386, allocations: 162.6 kB / 482.5 MB, free: 14.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.02396, allocations: 102.2 kB / 482.6 MB, free: 13.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.02406, allocations: 366.6 kB / 483 MB, free: 13.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.703e-05/0.02413, allocations: 65.28 kB / 483 MB, free: 13.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.0243, allocations: 283.9 kB / 483.3 MB, free: 13.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.02463, allocations: 420.7 kB / 483.7 MB, free: 12.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.02463, allocations: 4.5 kB / 483.7 MB, free: 12.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000669/0.0253, allocations: 0.5624 MB / 484.3 MB, free: 12.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.02532, allocations: 13.05 kB / 484.3 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.02533, allocations: 4.797 kB / 484.3 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005457/0.02587, allocations: 251.4 kB / 484.6 MB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.02604, allocations: 95.83 kB / 484.6 MB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/0.0294, allocations: 5.421 MB / 490.1 MB, free: 5.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.02955, allocations: 23.94 kB / 490.1 MB, free: 5.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.02958, allocations: 21 kB / 490.1 MB, free: 5.922 MB / 442.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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.02971, allocations: 150.5 kB / 490.3 MB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.02977, allocations: 43.95 kB / 490.3 MB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000584/0.03035, allocations: 481.3 kB / 490.8 MB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.03035, allocations: 5.078 kB / 490.8 MB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.03036, allocations: 4 kB / 490.8 MB, free: 5.223 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.03036, allocations: 0.9375 kB / 490.8 MB, free: 5.223 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009641/0.03132, allocations: 0.8873 MB / 491.7 MB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.03133, allocations: 0 / 491.7 MB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.901e-05/0.03141, allocations: 37.42 kB / 491.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004684/0.03187, allocations: 233.6 kB / 491.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.03189, allocations: 8.719 kB / 491.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00313/0.03502, allocations: 5.417 MB / 497.4 MB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.03502, allocations: 0 / 497.4 MB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005839/0.03561, allocations: 0.5861 MB / 497.9 MB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.364e-05/0.0357, allocations: 85.36 kB / 498 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.03573, allocations: 11.94 kB / 498 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.03584, allocations: 8 kB / 498 MB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.03593, allocations: 43.86 kB / 498.1 MB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.03595, allocations: 12 kB / 498.1 MB, free: 13.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.03606, allocations: 169.1 kB / 498.3 MB, free: 13.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03606, allocations: 1.438 kB / 498.3 MB, free: 13.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004279/0.03649, allocations: 196 kB / 498.5 MB, free: 13.08 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001191/0.03661, allocations: 102.8 kB / 498.6 MB, free: 12.97 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00075/0.03736, allocations: 0.8604 MB / 499.4 MB, free: 12.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.03737, allocations: 9.5 kB / 499.4 MB, free: 12.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005017/0.03787, allocations: 0.6952 MB / 0.4884 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.03835, allocations: 200 kB / 0.4886 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.03994, allocations: 1.174 MB / 0.4897 GB, free: 9.922 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.04009, allocations: 202.3 kB / 0.4899 GB, free: 9.703 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.04025, allocations: 65.81 kB / 0.49 GB, free: 9.648 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.04047, allocations: 165.9 kB / 0.4902 GB, free: 9.484 MB / 458.7 MB Notification: Performance of SimCode: time 9.32e-07/0.04047, allocations: 0 / 0.4902 GB, free: 9.484 MB / 458.7 MB Notification: Performance of Templates: time 0.01412/0.05459, allocations: 11.12 MB / 0.501 GB, free: 14.82 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7939206729643047]