Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.00137/0.00137, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001455/0.001455, allocations: 168.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.002578/0.002578, allocations: 244.9 kB / 259.4 MB, free: 472 kB / 238.1 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 1.074/1.074, allocations: 138.4 MB / 454.3 MB, free: 2.008 MB / 366.1 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6468 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.949e-05, allocations: 6.281 kB / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.2762/0.2762, allocations: 38.34 MB / 0.6843 GB, free: 35.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02333/0.2996, allocations: 15.05 MB / 0.699 GB, free: 26.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004835/0.3044, allocations: 246.2 kB / 0.6992 GB, free: 26.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01147/0.3159, allocations: 4.501 MB / 0.7036 GB, free: 23.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008566/0.3244, allocations: 3.015 MB / 0.7065 GB, free: 21.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008531/0.333, allocations: 3.218 MB / 0.7097 GB, free: 19.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0141/0.3471, allocations: 11.65 MB / 0.7211 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01262/0.3597, allocations: 6.739 MB / 0.7276 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01272/0.3724, allocations: 6.882 MB / 0.7344 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008863/0.3813, allocations: 5.093 MB / 0.7393 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003266/0.3845, allocations: 0.9479 MB / 0.7403 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006436/0.391, allocations: 1.938 MB / 0.7422 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.007744/0.3987, allocations: 3.948 MB / 0.746 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.009888/0.4086, allocations: 3.033 MB / 0.749 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02132/0.4299, allocations: 14.56 MB / 0.7632 GB, free: 10 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4299, allocations: 3.938 kB / 0.7632 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4299, allocations: 0 / 0.7632 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003763/0.4303, allocations: 0 / 0.7632 GB, free: 9.996 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02267/0.453, allocations: 7.633 MB / 0.7706 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.453, allocations: 8.75 kB / 0.7707 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.4644, allocations: 1.569 MB / 0.7722 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.4765, allocations: 4.378 MB / 0.7765 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005493/0.477, allocations: 460.5 kB / 0.7769 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002519/0.4795, allocations: 0.5979 MB / 0.7775 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02678/0.5063, allocations: 11.59 MB / 0.7888 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002765/0.5066, allocations: 28 kB / 0.7888 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001952/0.5085, allocations: 264.3 kB / 0.7891 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003145/0.5117, allocations: 0.7845 MB / 0.7899 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01841/0.5301, allocations: 8.541 MB / 0.7982 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06085/0.5909, allocations: 30.44 MB / 0.8279 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007391/0.5983, allocations: 3.958 MB / 0.8318 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006547/0.6049, allocations: 3.381 MB / 0.8351 GB, free: 14.95 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004341/0.6053, allocations: 38.78 kB / 0.8351 GB, free: 14.91 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.6054, allocations: 77.34 kB / 0.8352 GB, free: 14.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=353): time 7.725e-06/0.6054, allocations: 0 / 0.8352 GB, free: 14.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=578): time 0.8365/1.442, allocations: 121.1 MB / 0.9534 GB, free: 229.5 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/1.442, allocations: 111.3 kB / 0.9535 GB, free: 229.5 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/1.445, allocations: 2.5 MB / 0.956 GB, free: 228.6 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0007321/1.446, allocations: 124.7 kB / 0.9561 GB, free: 228.5 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/1.447, allocations: 2.754 MB / 0.9588 GB, free: 227.6 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001613/1.449, allocations: 2.034 MB / 0.9608 GB, free: 226.3 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001684/1.451, allocations: 0.9179 MB / 0.9617 GB, free: 225.9 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 5.28e-05/1.451, allocations: 305.1 kB / 0.962 GB, free: 225.6 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005418/1.456, allocations: 4.079 MB / 0.9659 GB, free: 223.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006734/1.463, allocations: 5.015 MB / 0.9708 GB, free: 221.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/1.476, allocations: 9.848 MB / 0.9805 GB, free: 216 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.672e-05/1.476, allocations: 6.656 kB / 0.9805 GB, free: 216 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04262/1.519, allocations: 16.73 MB / 0.9968 GB, free: 209.4 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.698e-05/1.519, allocations: 15.31 kB / 0.9968 GB, free: 209.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.565e-05/1.519, allocations: 25.78 kB / 0.9968 GB, free: 209.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03329/1.552, allocations: 9.064 MB / 1.006 GB, free: 207.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/1.555, allocations: 0.5232 MB / 1.006 GB, free: 207.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09116/1.646, allocations: 74.25 MB / 1.079 GB, free: 142.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00506/1.651, allocations: 280.7 kB / 1.079 GB, free: 142.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006411/1.652, allocations: 192 kB / 1.079 GB, free: 142.2 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003537/1.655, allocations: 2.419 MB / 1.082 GB, free: 139.8 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009286/1.656, allocations: 469.1 kB / 1.082 GB, free: 139.4 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03513/1.691, allocations: 16.54 MB / 1.098 GB, free: 122.7 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/1.691, allocations: 59.98 kB / 1.098 GB, free: 122.6 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001495/1.692, allocations: 71.25 kB / 1.098 GB, free: 122.6 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.538e-05/1.692, allocations: 27.89 kB / 1.098 GB, free: 122.5 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04999/1.742, allocations: 23.05 MB / 1.121 GB, free: 99.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-05/1.742, allocations: 12.16 kB / 1.121 GB, free: 99.28 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/1.744, allocations: 319.3 kB / 1.121 GB, free: 98.97 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03002/1.774, allocations: 8.255 MB / 1.129 GB, free: 90.68 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001893/1.776, allocations: 107.9 kB / 1.129 GB, free: 90.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09076/1.866, allocations: 71.1 MB / 1.199 GB, free: 18.37 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.866, allocations: 11.98 kB / 1.199 GB, free: 18.36 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04211/1.909, allocations: 21.27 MB / 1.219 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003749/1.912, allocations: 1.282 MB / 1.221 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/1.914, allocations: 109.9 kB / 1.221 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004136/1.918, allocations: 291.6 kB / 1.221 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002335/1.92, allocations: 0.5566 MB / 1.222 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006991/1.921, allocations: 144 kB / 1.222 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003184/1.924, allocations: 1.622 MB / 1.223 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/1.924, allocations: 0 / 1.223 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00849/1.933, allocations: 2.461 MB / 1.226 GB, free: 6.277 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000953/1.934, allocations: 235.6 kB / 1.226 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0296/1.963, allocations: 13.72 MB / 1.239 GB, free: 8.141 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/1.963, allocations: 4 kB / 1.239 GB, free: 8.137 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.282/2.245, allocations: 8.996 MB / 1.248 GB, free: 233.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006002/2.251, allocations: 1.308 MB / 1.249 GB, free: 233.3 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02266/2.274, allocations: 15.72 MB / 1.265 GB, free: 229.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005259/2.279, allocations: 4.391 MB / 1.269 GB, free: 229.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00242/2.281, allocations: 0.7206 MB / 1.27 GB, free: 229 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005942/2.282, allocations: 185.7 kB / 1.27 GB, free: 229 MB / 0.795 GB Notification: Performance of SimCode: time 9.32e-07/2.282, allocations: 0 / 1.27 GB, free: 229 MB / 0.795 GB Notification: Performance of Templates: time 0.1856/2.468, allocations: 151.6 MB / 1.418 GB, free: 127 MB / 0.795 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.898781396448612] Failed to read output from testmodel.py, exit status != 0: 2.476821355521679 2.485384454 2.053047574 Calling exit ...