Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.00142/0.00142, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001589/0.001589, allocations: 156.7 kB / 23.01 MB, free: 4.949 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.4/1.4, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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.002487/0.002487, allocations: 237.9 kB / 260 MB, free: 444 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 0.9202/0.9202, allocations: 138.5 MB / 455 MB, free: 15.1 MB / 430.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003291/0.003291, allocations: 95.84 kB / 0.6473 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4044, allocations: 95.35 MB / 0.7405 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01472/0.4191, allocations: 13.93 MB / 0.7541 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01312/0.4323, allocations: 9.965 MB / 0.7638 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.4338, allocations: 85.19 kB / 0.7639 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004149/0.4379, allocations: 1.693 MB / 0.7655 GB, free: 472 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005412/0.4433, allocations: 1.845 MB / 0.7673 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.4455, allocations: 0.7645 MB / 0.7681 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00428/0.4498, allocations: 2.766 MB / 0.7708 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002084/0.4519, allocations: 1.181 MB / 0.7719 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.4546, allocations: 1.635 MB / 0.7735 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.4568, allocations: 1.081 MB / 0.7746 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004818/0.4573, allocations: 164 kB / 0.7747 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.4593, allocations: 0.7328 MB / 0.7754 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008994/0.4602, allocations: 0.6172 MB / 0.776 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001683/0.4619, allocations: 0.7777 MB / 0.7768 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.4656, allocations: 2.79 MB / 0.7795 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4656, allocations: 0 / 0.7795 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4656, allocations: 0 / 0.7795 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.773e-05/0.4656, allocations: 0 / 0.7795 GB, free: 7.391 MB / 0.6075 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.003987/0.4696, allocations: 2.154 MB / 0.7816 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.4696, allocations: 10.19 kB / 0.7816 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/0.4819, allocations: 2.129 MB / 0.7837 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.4851, allocations: 1.227 MB / 0.7849 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.4852, allocations: 86 kB / 0.785 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/0.4854, allocations: 126.5 kB / 0.7851 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006271/0.4917, allocations: 3.074 MB / 0.7881 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/0.4917, allocations: 11.89 kB / 0.7881 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/0.4919, allocations: 51.98 kB / 0.7882 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000698/0.4926, allocations: 198.1 kB / 0.7884 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00804/0.5006, allocations: 2.787 MB / 0.7911 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01457/0.5152, allocations: 8.126 MB / 0.799 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00708/0.5223, allocations: 2.191 MB / 0.8012 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003331/0.5256, allocations: 1.201 MB / 0.8023 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.255e-05/0.5257, allocations: 9 kB / 0.8024 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.5257, allocations: 47.56 kB / 0.8024 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=89): time 2.815e-06/0.5257, allocations: 3.938 kB / 0.8024 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of matching and sorting (n=153): time 0.06551/0.5912, allocations: 15.98 MB / 0.818 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.5913, allocations: 64.72 kB / 0.8181 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.593, allocations: 1.038 MB / 0.8191 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.5931, allocations: 49.7 kB / 0.8191 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006634/0.5938, allocations: 0.7596 MB / 0.8199 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005615/0.5944, allocations: 0.5383 MB / 0.8204 GB, free: 312 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006282/0.595, allocations: 287.5 kB / 0.8207 GB, free: 20 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5952, allocations: 317 kB / 0.821 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00393/0.5991, allocations: 1.51 MB / 0.8224 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004207/0.6033, allocations: 1.776 MB / 0.8242 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00818/0.6115, allocations: 3.369 MB / 0.8275 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.6115, allocations: 0 / 0.8275 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01472/0.6262, allocations: 5.2 MB / 0.8326 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.6262, allocations: 8 kB / 0.8326 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.6263, allocations: 12.09 kB / 0.8326 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007716/0.634, allocations: 1.874 MB / 0.8344 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/0.6364, allocations: 415.3 kB / 0.8348 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03399/0.6704, allocations: 22.86 MB / 0.8571 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/0.6734, allocations: 311.5 kB / 0.8574 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003256/0.6737, allocations: 67.95 kB / 0.8575 GB, free: 9.258 MB / 0.6856 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001143/0.6749, allocations: 458.9 kB / 0.8579 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004925/0.6754, allocations: 171 kB / 0.8581 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01515/0.6905, allocations: 5.248 MB / 0.8632 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.6905, allocations: 12 kB / 0.8632 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-05/0.6906, allocations: 23.94 kB / 0.8632 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.6906, allocations: 7.969 kB / 0.8633 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/0.7087, allocations: 6.798 MB / 0.8699 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.7088, allocations: 4 kB / 0.8699 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/0.7106, allocations: 351.4 kB / 0.8702 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006473/0.7171, allocations: 1.699 MB / 0.8719 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/0.7173, allocations: 47.91 kB / 0.8719 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03139/0.7487, allocations: 22.01 MB / 0.8934 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.7487, allocations: 15.97 kB / 0.8934 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/0.7622, allocations: 4.813 MB / 0.8981 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.7635, allocations: 410.7 kB / 0.8985 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004144/0.764, allocations: 31.95 kB / 0.8986 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/0.7665, allocations: 319.5 kB / 0.8989 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000569/0.767, allocations: 160.9 kB / 0.899 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.7672, allocations: 51.95 kB / 0.8991 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00117/0.7684, allocations: 0.684 MB / 0.8997 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7684, allocations: 0 / 0.8997 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002343/0.7707, allocations: 0.6523 MB / 0.9004 GB, free: 12.25 MB / 0.7325 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003175/0.771, allocations: 147.1 kB / 0.9005 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01287/0.7839, allocations: 4.91 MB / 0.9053 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.7839, allocations: 0 / 0.9053 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008/0.7919, allocations: 3.285 MB / 0.9085 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/0.7948, allocations: 0.5146 MB / 0.909 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.8051, allocations: 4.344 MB / 0.9133 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/0.8066, allocations: 0.9799 MB / 0.9142 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001422/0.8081, allocations: 377.1 kB / 0.9146 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/0.8085, allocations: 100.4 kB / 0.9147 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of SimCode: time 1.092e-06/0.8085, allocations: 0 / 0.9147 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of Templates: time 0.07651/0.885, allocations: 46.81 MB / 0.9604 GB, free: 15.21 MB / 0.795 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.444035166059621] Failed to read output from testmodel.py, exit status != 0: 0.8944435049779713 0.909463652 0.440622582 Calling exit ...