Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0006709/0.0006709, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008701/0.001541, allocations: 435.8 kB / 10.33 MB, free: 364 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.0006989/0.0006989, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009058/0.001605, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.9158/0.9158, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1283/1.044, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.0013/0.0013, allocations: 242 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.002428, allocations: 471.4 kB / 244.7 MB, free: 14.18 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.704/0.704, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07298/0.777, 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 427.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.485e-05, allocations: 6.312 kB / 427.8 MB, free: 4.609 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.2077/0.2077, allocations: 20.46 MB / 448.3 MB, free: 10.01 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01568/0.2234, allocations: 10.52 MB / 458.8 MB, free: 2.094 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003265/0.2267, allocations: 202.4 kB / 459 MB, free: 1.895 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.2291, allocations: 0.9049 MB / 459.9 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007331/0.2365, allocations: 3.181 MB / 463.1 MB, free: 13.81 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.2402, allocations: 1.837 MB / 464.9 MB, free: 11.98 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009942/0.2501, allocations: 9.962 MB / 474.9 MB, free: 2 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007909/0.258, allocations: 5.481 MB / 480.4 MB, free: 12.38 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01146/0.2695, allocations: 6.296 MB / 486.7 MB, free: 6.059 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006013/0.2755, allocations: 4.368 MB / 491 MB, free: 1.699 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002019/0.2775, allocations: 0.707 MB / 491.7 MB, free: 0.9922 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.2798, allocations: 0.8083 MB / 492.5 MB, free: 188 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002503/0.2823, allocations: 2.861 MB / 495.4 MB, free: 13.32 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003074/0.2854, allocations: 2.005 MB / 497.4 MB, free: 11.31 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006158/0.2915, allocations: 5.492 MB / 0.4911 GB, free: 5.801 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.382e-05/0.2916, allocations: 1.969 kB / 0.4911 GB, free: 5.801 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.2916, allocations: 0 / 0.4911 GB, free: 5.801 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002381/0.2918, allocations: 0 / 0.4911 GB, free: 5.801 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.008072/0.2999, allocations: 6.906 MB / 0.4979 GB, free: 14.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2999, allocations: 9.031 kB / 0.4979 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003505/0.3034, allocations: 1.579 MB / 0.4994 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/0.3072, allocations: 2.69 MB / 0.502 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.3074, allocations: 370.4 kB / 0.5024 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005361/0.308, allocations: 0.509 MB / 0.5029 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005357/0.3133, allocations: 4.866 MB / 0.5076 GB, free: 4.316 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.3134, allocations: 24.61 kB / 0.5077 GB, free: 4.293 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.3138, allocations: 217.7 kB / 0.5079 GB, free: 4.082 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004641/0.3142, allocations: 365.7 kB / 0.5082 GB, free: 3.723 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.3163, allocations: 1.309 MB / 0.5095 GB, free: 2.406 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01781/0.3341, allocations: 16.66 MB / 0.5258 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009257/0.335, allocations: 0.7941 MB / 0.5265 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006946/0.3357, allocations: 0.6191 MB / 0.5271 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.584e-05/0.3358, allocations: 30.5 kB / 0.5272 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.3359, allocations: 54.38 kB / 0.5272 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 4.538e-06/0.3359, allocations: 0 / 0.5272 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174): time 0.01369/0.3496, allocations: 6.59 MB / 0.5337 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.3496, allocations: 77.34 kB / 0.5337 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.3509, allocations: 1.679 MB / 0.5354 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-05/0.351, allocations: 61.64 kB / 0.5354 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.3523, allocations: 1.991 MB / 0.5374 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/0.3527, allocations: 0.6196 MB / 0.538 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/0.3531, allocations: 367.6 kB / 0.5383 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.3531, allocations: 309.1 kB / 0.5386 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.3535, allocations: 256.2 kB / 0.5389 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/0.3541, allocations: 0.8327 MB / 0.5397 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.3553, allocations: 1.305 MB / 0.541 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.34e-05/0.3553, allocations: 8 kB / 0.541 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.003312/0.3586, allocations: 1.995 MB / 0.5429 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.3587, allocations: 15.94 kB / 0.5429 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.3587, allocations: 16.94 kB / 0.5429 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/0.3614, allocations: 1.215 MB / 0.5441 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009437/0.3624, allocations: 395.4 kB / 0.5445 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007901/0.3703, allocations: 7.672 MB / 0.552 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.3715, allocations: 63.98 kB / 0.5521 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.3716, allocations: 64 kB / 0.5521 GB, free: 5.559 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (187): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(10,28,71.0%), (6,24,77.8%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00108/0.3727, allocations: 244 kB / 0.5524 GB, free: 5.309 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/0.373, allocations: 235.7 kB / 0.5526 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.3753, allocations: 1.779 MB / 0.5543 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.3753, allocations: 19.94 kB / 0.5543 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/0.3754, allocations: 16 kB / 0.5544 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.3754, allocations: 7.969 kB / 0.5544 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005605/0.381, allocations: 3.614 MB / 0.5579 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.381, allocations: 4 kB / 0.5579 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.3814, allocations: 192.2 kB / 0.5581 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006772/0.3821, allocations: 375.6 kB / 0.5584 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002531/0.3846, allocations: 1.171 MB / 0.5596 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-05/0.3847, allocations: 31.98 kB / 0.5596 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007997/0.3927, allocations: 7.67 MB / 0.5671 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.3927, allocations: 6.344 kB / 0.5671 GB, free: 5.781 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.3954, allocations: 1.882 MB / 0.5689 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.3957, allocations: 35.98 kB / 0.569 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/0.3963, allocations: 36 kB / 0.569 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/0.3966, allocations: 160.9 kB / 0.5692 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.935e-05/0.3967, allocations: 36 kB / 0.5692 GB, free: 3.559 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000771/0.3975, allocations: 0.8547 MB / 0.57 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3e-08/0.3975, allocations: 0 / 0.57 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003337/0.4008, allocations: 1.082 MB / 0.5711 GB, free: 1.609 MB / 0.5417 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002537/0.4011, allocations: 129.4 kB / 0.5712 GB, free: 1.477 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002783/0.4039, allocations: 2.156 MB / 0.5733 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-05/0.4039, allocations: 49.69 kB / 0.5734 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.4057, allocations: 1.568 MB / 0.5749 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.4081, allocations: 1.205 MB / 0.5761 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03656/0.4447, allocations: 8.216 MB / 0.5841 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.4462, allocations: 1.246 MB / 0.5853 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001264/0.4475, allocations: 336.7 kB / 0.5856 GB, free: 2.621 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/0.4486, allocations: 0.7333 MB / 0.5864 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of SimCode: time 1.603e-06/0.4486, allocations: 0 / 0.5864 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of Templates: time 0.06997/0.5186, allocations: 57.72 MB / 0.6427 GB, free: 9.445 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.65382150746882]