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.001547/0.001547, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001433/0.001433, allocations: 215.7 kB / 23.01 MB, free: 4.566 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.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.002694/0.002694, allocations: 286.4 kB / 313.5 MB, free: 2.844 MB / 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.232/1.232, allocations: 180.6 MB / 0.5377 GB, free: 13.03 MB / 382.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.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: 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.00291/0.00291, allocations: 105.1 kB / 0.7408 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2099, allocations: 95.37 MB / 0.834 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01908/0.2289, allocations: 14.59 MB / 0.8482 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01562/0.2446, allocations: 9.786 MB / 0.8578 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.246, allocations: 79.31 kB / 0.8578 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004832/0.2508, allocations: 1.737 MB / 0.8595 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00481/0.2557, allocations: 1.6 MB / 0.8611 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.2578, allocations: 0.7613 MB / 0.8618 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004308/0.2621, allocations: 2.535 MB / 0.8643 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002083/0.2642, allocations: 1.188 MB / 0.8655 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002042/0.2662, allocations: 1.09 MB / 0.8665 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/0.2684, allocations: 1.21 MB / 0.8677 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00031/0.2687, allocations: 168 kB / 0.8679 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.2704, allocations: 0.8072 MB / 0.8687 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007434/0.2711, allocations: 0.6269 MB / 0.8693 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.2723, allocations: 0.9445 MB / 0.8702 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003936/0.2763, allocations: 2.763 MB / 0.8729 GB, free: 124 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2763, allocations: 0 / 0.8729 GB, free: 124 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2763, allocations: 4 kB / 0.8729 GB, free: 120 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.895e-05/0.2763, allocations: 0 / 0.8729 GB, free: 120 kB / 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.00456/0.2809, allocations: 2.128 MB / 0.875 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.2809, allocations: 13.33 kB / 0.875 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.2922, allocations: 2.098 MB / 0.8771 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003505/0.2957, allocations: 1.212 MB / 0.8782 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.251e-05/0.2958, allocations: 94.72 kB / 0.8783 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003662/0.2962, allocations: 124.1 kB / 0.8784 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00617/0.3023, allocations: 2.675 MB / 0.8811 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.787e-05/0.3024, allocations: 7.938 kB / 0.8811 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.3026, allocations: 55.98 kB / 0.8811 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006051/0.3032, allocations: 182.1 kB / 0.8813 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007675/0.3109, allocations: 2.795 MB / 0.884 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01682/0.3277, allocations: 10.38 MB / 0.8942 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006479/0.3342, allocations: 2.221 MB / 0.8963 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003102/0.3373, allocations: 1.21 MB / 0.8975 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.772e-05/0.3374, allocations: 9 kB / 0.8975 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.3374, allocations: 47.56 kB / 0.8976 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 3.046e-06/0.3374, allocations: 0 / 0.8976 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.045/0.3824, allocations: 12.66 MB / 0.9099 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.3825, allocations: 64.72 kB / 0.91 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.3841, allocations: 1.117 MB / 0.9111 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.3843, allocations: 49.7 kB / 0.9111 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006214/0.385, allocations: 0.7326 MB / 0.9118 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005031/0.3855, allocations: 471.9 kB / 0.9123 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000512/0.386, allocations: 267.5 kB / 0.9125 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3862, allocations: 361.9 kB / 0.9129 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/0.3895, allocations: 1.343 MB / 0.9142 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/0.3931, allocations: 1.596 MB / 0.9158 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006991/0.4001, allocations: 2.991 MB / 0.9187 GB, free: 108 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4001, allocations: 4 kB / 0.9187 GB, free: 104 kB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0121/0.4122, allocations: 4.408 MB / 0.923 GB, free: 11.64 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.4122, allocations: 8 kB / 0.923 GB, free: 11.63 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.4122, allocations: 11.94 kB / 0.923 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005387/0.4176, allocations: 1.423 MB / 0.9244 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.4197, allocations: 447.2 kB / 0.9248 GB, free: 9.719 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03048/0.4502, allocations: 25.37 MB / 0.9496 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/0.4528, allocations: 303.6 kB / 0.9499 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002946/0.4531, allocations: 67.89 kB / 0.95 GB, free: 14.48 MB / 0.7012 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.0009147/0.454, allocations: 433.5 kB / 0.9504 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.4544, allocations: 171 kB / 0.9505 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/0.4663, allocations: 4.406 MB / 0.9548 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.4663, allocations: 12 kB / 0.9548 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-05/0.4663, allocations: 16 kB / 0.9549 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/0.4664, allocations: 7.969 kB / 0.9549 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.4829, allocations: 6.688 MB / 0.9614 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.4829, allocations: 4 kB / 0.9614 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/0.4847, allocations: 383.2 kB / 0.9618 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004993/0.4897, allocations: 1.307 MB / 0.963 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00033/0.4901, allocations: 43.95 kB / 0.9631 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02901/0.5191, allocations: 24.17 MB / 0.9867 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5191, allocations: 0 / 0.9867 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.5305, allocations: 4.168 MB / 0.9908 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.5317, allocations: 394.6 kB / 0.9911 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004102/0.5321, allocations: 24 kB / 0.9912 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/0.5343, allocations: 311.5 kB / 0.9915 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004433/0.5348, allocations: 128.6 kB / 0.9916 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.5349, allocations: 52.44 kB / 0.9916 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001392/0.5363, allocations: 0.7526 MB / 0.9924 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5363, allocations: 0 / 0.9924 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002346/0.5386, allocations: 0.5703 MB / 0.9929 GB, free: 0.6211 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 (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.0003489/0.539, allocations: 143.1 kB / 0.9931 GB, free: 484 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3606/0.8996, allocations: 4.972 MB / 0.9979 GB, free: 147 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.8996, allocations: 1.844 kB / 0.9979 GB, free: 147 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006617/0.9062, allocations: 3.418 MB / 1.001 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.9085, allocations: 0.5537 MB / 1.002 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007896/0.9164, allocations: 4.178 MB / 1.006 GB, free: 144.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.9177, allocations: 1.48 MB / 1.007 GB, free: 143.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000701/0.9184, allocations: 137.7 kB / 1.007 GB, free: 143.5 MB / 0.7325 GB Notification: Performance of SimCode: time 9.91e-07/0.9184, allocations: 0 / 1.007 GB, free: 143.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.08239/1.001, allocations: 112.7 MB / 1.118 GB, free: 45.66 MB / 0.7325 GB " [Timeout remaining time 659] 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: 16.784081855788827] Failed to read output from testmodel.py, exit status != 0: 1.0085512148216367 1.017812373 0.739288151 Calling exit ...