Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001239/0.001239, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001427/0.001427, allocations: 217.3 kB / 22.25 MB, free: 5.121 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.603/1.603, allocations: 230.6 MB / 256 MB, free: 7.973 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.002616/0.002616, allocations: 282.8 kB / 312.7 MB, free: 2.809 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.297/1.297, allocations: 180.6 MB / 0.5369 GB, free: 12.95 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [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.003041/0.003041, allocations: 104.3 kB / 0.7401 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1946, allocations: 95.37 MB / 0.8332 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04244/0.237, allocations: 34.28 MB / 0.8667 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01972/0.2567, allocations: 10.68 MB / 0.8771 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003063/0.2598, allocations: 194.6 kB / 0.8773 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.2703, allocations: 3.894 MB / 0.8811 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005984/0.2762, allocations: 1.96 MB / 0.883 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00624/0.2825, allocations: 2.197 MB / 0.8852 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.293, allocations: 7.326 MB / 0.8923 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007666/0.3007, allocations: 5.154 MB / 0.8974 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005138/0.3058, allocations: 3.272 MB / 0.9006 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005811/0.3116, allocations: 3.672 MB / 0.9041 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.3126, allocations: 0.6523 MB / 0.9048 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.3162, allocations: 1.802 MB / 0.9065 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002937/0.3191, allocations: 2.607 MB / 0.9091 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003895/0.323, allocations: 2.902 MB / 0.9119 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.3355, allocations: 10.14 MB / 0.9218 GB, free: 13.05 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.3355, allocations: 4 kB / 0.9218 GB, free: 13.05 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.195e-06/0.3355, allocations: 0 / 0.9218 GB, free: 13.05 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002867/0.3358, allocations: 0 / 0.9218 GB, free: 13.05 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01096/0.3467, allocations: 5.048 MB / 0.9268 GB, free: 7.938 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.3468, allocations: 12.75 kB / 0.9268 GB, free: 7.926 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005121/0.3519, allocations: 0.9774 MB / 0.9277 GB, free: 6.945 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007352/0.3593, allocations: 2.999 MB / 0.9307 GB, free: 3.875 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/0.3596, allocations: 353.7 kB / 0.931 GB, free: 3.527 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000964/0.3605, allocations: 460.3 kB / 0.9314 GB, free: 3.078 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/0.3746, allocations: 7.671 MB / 0.9389 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/0.3747, allocations: 31.77 kB / 0.9389 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004737/0.3752, allocations: 200 kB / 0.9391 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003517/0.3755, allocations: 309 kB / 0.9394 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.3861, allocations: 5.714 MB / 0.945 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03962/0.4257, allocations: 34.56 MB / 0.9788 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.4284, allocations: 1.553 MB / 0.9803 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.43, allocations: 1.128 MB / 0.9814 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.545e-05/0.4301, allocations: 13.31 kB / 0.9814 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.4301, allocations: 51.88 kB / 0.9814 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 2.836e-06/0.4301, allocations: 3.938 kB / 0.9814 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01404/0.4442, allocations: 6.207 MB / 0.9875 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.4442, allocations: 68.72 kB / 0.9876 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.4464, allocations: 1.484 MB / 0.989 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.4465, allocations: 45.7 kB / 0.9891 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.4481, allocations: 2.077 MB / 0.9911 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000534/0.4486, allocations: 0.4996 MB / 0.9916 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005224/0.4492, allocations: 343.4 kB / 0.9919 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4493, allocations: 305.1 kB / 0.9922 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.4507, allocations: 0.9135 MB / 0.9931 GB, free: 192 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4407/0.8914, allocations: 1.594 MB / 0.9947 GB, free: 145.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/0.8949, allocations: 2.737 MB / 0.9973 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.895, allocations: 6.656 kB / 0.9973 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005911/0.9009, allocations: 3.514 MB / 1.001 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.9009, allocations: 17.53 kB / 1.001 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.9009, allocations: 22.66 kB / 1.001 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002478/0.9034, allocations: 0.8983 MB / 1.002 GB, free: 143 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.9045, allocations: 352.4 kB / 1.002 GB, free: 143 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/0.9236, allocations: 21.88 MB / 1.023 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.9253, allocations: 103.8 kB / 1.023 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.9254, allocations: 87.16 kB / 1.024 GB, free: 124.8 MB / 0.7325 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002631/0.9281, allocations: 1.609 MB / 1.025 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.9285, allocations: 212.6 kB / 1.025 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004791/0.9333, allocations: 2.965 MB / 1.028 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.9333, allocations: 18.23 kB / 1.028 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.9333, allocations: 7.844 kB / 1.028 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.9333, allocations: 7.453 kB / 1.028 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009873/0.9432, allocations: 7.296 MB / 1.035 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.9432, allocations: 7.906 kB / 1.035 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.9439, allocations: 174.5 kB / 1.036 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002071/0.946, allocations: 0.8283 MB / 1.036 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-05/0.946, allocations: 27.69 kB / 1.036 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/0.9605, allocations: 20.73 MB / 1.057 GB, free: 100.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.9605, allocations: 14.12 kB / 1.057 GB, free: 100.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/0.9648, allocations: 3.012 MB / 1.06 GB, free: 98.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009313/0.9657, allocations: 394.5 kB / 1.06 GB, free: 98.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.9659, allocations: 34.67 kB / 1.06 GB, free: 98.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007322/0.9666, allocations: 67.91 kB / 1.06 GB, free: 97.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003252/0.967, allocations: 132.7 kB / 1.06 GB, free: 97.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/0.967, allocations: 36 kB / 1.06 GB, free: 97.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001041/0.9681, allocations: 0.9756 MB / 1.061 GB, free: 96.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9681, allocations: 0 / 1.061 GB, free: 96.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002591/0.9707, allocations: 0.7891 MB / 1.062 GB, free: 96.04 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00019/0.9709, allocations: 151.1 kB / 1.062 GB, free: 95.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004469/0.9753, allocations: 3.926 MB / 1.066 GB, free: 91.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.9753, allocations: 0 / 1.066 GB, free: 91.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002746/0.9781, allocations: 2.664 MB / 1.069 GB, free: 89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/0.9807, allocations: 0.7377 MB / 1.069 GB, free: 88.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.9907, allocations: 7.35 MB / 1.076 GB, free: 80.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/0.9931, allocations: 3.117 MB / 1.079 GB, free: 77.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001153/0.9942, allocations: 453.9 kB / 1.08 GB, free: 77.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.9945, allocations: 119.4 kB / 1.08 GB, free: 77.18 MB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/0.9945, allocations: 0 / 1.08 GB, free: 77.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.05346/1.048, allocations: 37.97 MB / 1.117 GB, free: 39.73 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.070123875979334] Failed to read output from testmodel.py, exit status != 0: 1.0554304330144078 1.065090579 0.727241966 Calling exit ...