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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 110.1 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 188.4 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 225.6 MB / 251.5 MB, free: 13.08 MB / 206.1 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.002335/0.002335, allocations: 288.8 kB / 307 MB, free: 8.41 MB / 238.1 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 1.128/1.128, allocations: 180.7 MB / 0.5304 GB, free: 14.52 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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002661/0.002661, allocations: 98.31 kB / 0.7311 GB, free: 39.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1477, allocations: 94.2 MB / 0.8231 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03926/0.187, allocations: 34.53 MB / 0.8568 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02397/0.211, allocations: 15.19 MB / 0.8716 GB, free: 232 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00311/0.2141, allocations: 202.4 kB / 0.8718 GB, free: 28 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009721/0.2238, allocations: 3.826 MB / 0.8756 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008138/0.2319, allocations: 3.013 MB / 0.8785 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006165/0.2381, allocations: 2.385 MB / 0.8808 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01151/0.2496, allocations: 8.828 MB / 0.8895 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01012/0.2597, allocations: 5.085 MB / 0.8944 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007213/0.2669, allocations: 4.071 MB / 0.8984 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007274/0.2742, allocations: 4.268 MB / 0.9026 GB, free: 360 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00222/0.2764, allocations: 0.7149 MB / 0.9033 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004332/0.2808, allocations: 1.627 MB / 0.9048 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004846/0.2856, allocations: 2.895 MB / 0.9077 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006761/0.2924, allocations: 3.388 MB / 0.911 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01502/0.3074, allocations: 11.22 MB / 0.9219 GB, free: 12.45 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3074, allocations: 0 / 0.9219 GB, free: 12.45 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3074, allocations: 3.938 kB / 0.9219 GB, free: 12.44 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003375/0.3077, allocations: 0 / 0.9219 GB, free: 12.44 MB / 0.67 GB 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.01501/0.3228, allocations: 6.06 MB / 0.9279 GB, free: 6.312 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3228, allocations: 8.625 kB / 0.9279 GB, free: 6.305 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007116/0.3299, allocations: 1.164 MB / 0.929 GB, free: 5.137 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007869/0.3378, allocations: 3.466 MB / 0.9324 GB, free: 1.582 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000354/0.3381, allocations: 378.4 kB / 0.9328 GB, free: 1.211 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/0.3396, allocations: 0.4883 MB / 0.9332 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01685/0.3565, allocations: 8.009 MB / 0.9411 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002025/0.3567, allocations: 19.89 kB / 0.9411 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001155/0.3578, allocations: 216 kB / 0.9413 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001033/0.3589, allocations: 437.6 kB / 0.9417 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/0.3708, allocations: 6.085 MB / 0.9476 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04253/0.4134, allocations: 34.52 MB / 0.9814 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.4162, allocations: 1.913 MB / 0.9832 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.4188, allocations: 1.752 MB / 0.9849 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.4189, allocations: 18 kB / 0.9849 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.274e-05/0.419, allocations: 64.44 kB / 0.985 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 3.497e-06/0.419, allocations: 0 / 0.985 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.484/0.9029, allocations: 38.68 MB / 1.023 GB, free: 168.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.903, allocations: 88.72 kB / 1.023 GB, free: 168.3 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/0.9057, allocations: 2.283 MB / 1.025 GB, free: 167.5 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003128/0.906, allocations: 73.52 kB / 1.025 GB, free: 167.4 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.907, allocations: 2.344 MB / 1.027 GB, free: 165.9 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006255/0.9076, allocations: 0.9756 MB / 1.028 GB, free: 165.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007412/0.9084, allocations: 0.5094 MB / 1.029 GB, free: 165 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 3.726e-05/0.9084, allocations: 305.1 kB / 1.029 GB, free: 164.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.9105, allocations: 1.972 MB / 1.031 GB, free: 164 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.9128, allocations: 2.6 MB / 1.034 GB, free: 162.4 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004806/0.9176, allocations: 4.932 MB / 1.038 GB, free: 159.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.9176, allocations: 7.406 kB / 1.038 GB, free: 159.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01149/0.9291, allocations: 7.646 MB / 1.046 GB, free: 153.9 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.9291, allocations: 12 kB / 1.046 GB, free: 153.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.9291, allocations: 16 kB / 1.046 GB, free: 153.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007314/0.9364, allocations: 3.214 MB / 1.049 GB, free: 150.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.9378, allocations: 408.6 kB / 1.05 GB, free: 150.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03206/0.9699, allocations: 33.29 MB / 1.082 GB, free: 116.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/0.9726, allocations: 171.8 kB / 1.082 GB, free: 116.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.9728, allocations: 104 kB / 1.082 GB, free: 116 MB / 0.7481 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002297/0.9751, allocations: 1.799 MB / 1.084 GB, free: 114.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000611/0.9757, allocations: 355.8 kB / 1.084 GB, free: 113.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.9865, allocations: 7.236 MB / 1.091 GB, free: 106.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.9865, allocations: 28.98 kB / 1.091 GB, free: 106.5 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.198e-05/0.9865, allocations: 28 kB / 1.091 GB, free: 106.5 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.9866, allocations: 11.95 kB / 1.092 GB, free: 106.5 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/1.004, allocations: 12.79 MB / 1.104 GB, free: 93.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/1.004, allocations: 8 kB / 1.104 GB, free: 93.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007722/1.004, allocations: 227.6 kB / 1.104 GB, free: 93.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006519/1.011, allocations: 2.845 MB / 1.107 GB, free: 90.46 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/1.011, allocations: 52 kB / 1.107 GB, free: 90.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03074/1.042, allocations: 32.09 MB / 1.138 GB, free: 57.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.042, allocations: 11.94 kB / 1.138 GB, free: 57.64 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009716/1.052, allocations: 6.783 MB / 1.145 GB, free: 50.65 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/1.053, allocations: 0.7276 MB / 1.146 GB, free: 49.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003922/1.054, allocations: 57 kB / 1.146 GB, free: 49.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/1.055, allocations: 164.3 kB / 1.146 GB, free: 49.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006895/1.056, allocations: 273.2 kB / 1.146 GB, free: 49.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/1.056, allocations: 76 kB / 1.146 GB, free: 49.37 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001551/1.058, allocations: 1.529 MB / 1.148 GB, free: 47.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.058, allocations: 0 / 1.148 GB, free: 47.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003515/1.061, allocations: 1.37 MB / 1.149 GB, free: 46.47 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.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.0002644/1.061, allocations: 171 kB / 1.149 GB, free: 46.29 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008662/1.07, allocations: 6.57 MB / 1.156 GB, free: 39.63 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.07, allocations: 0 / 1.156 GB, free: 39.63 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.005817/1.076, allocations: 4.243 MB / 1.16 GB, free: 35.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003989/1.08, allocations: 1.118 MB / 1.161 GB, free: 34.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/1.094, allocations: 10.36 MB / 1.171 GB, free: 23.83 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00303/1.097, allocations: 3.647 MB / 1.175 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001723/1.098, allocations: 0.5592 MB / 1.175 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/1.099, allocations: 158.9 kB / 1.175 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of SimCode: time 1.723e-06/1.099, allocations: 4 kB / 1.175 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of Templates: time 0.1132/1.212, allocations: 79.5 MB / 1.253 GB, free: 5.105 MB / 0.8106 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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.356429903004027] Failed to read output from testmodel.py, exit status != 0: 1.219405416995869 1.23443544 0.923927608 Calling exit ...