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.001351/0.001351, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001463/0.001463, allocations: 213.8 kB / 22.99 MB, free: 4.945 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002581/0.002581, allocations: 285.7 kB / 313.5 MB, free: 2.609 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.247/1.247, allocations: 180.6 MB / 0.5377 GB, free: 14.45 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.002988/0.002988, allocations: 98.62 kB / 0.7407 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1892, allocations: 95.39 MB / 0.8339 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0188/0.208, allocations: 13.28 MB / 0.8468 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.2249, allocations: 9.144 MB / 0.8558 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.2265, allocations: 75.31 kB / 0.8558 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004875/0.2314, allocations: 1.672 MB / 0.8575 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005123/0.2365, allocations: 1.583 MB / 0.859 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.2388, allocations: 0.7661 MB / 0.8598 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003981/0.2427, allocations: 2.531 MB / 0.8622 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.2448, allocations: 1.18 MB / 0.8634 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.2469, allocations: 1.125 MB / 0.8645 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.2487, allocations: 1.101 MB / 0.8656 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002932/0.249, allocations: 164 kB / 0.8657 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.2505, allocations: 0.7252 MB / 0.8664 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006427/0.2511, allocations: 0.6231 MB / 0.867 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000928/0.2521, allocations: 0.7777 MB / 0.8678 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.2555, allocations: 2.779 MB / 0.8705 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2555, allocations: 0 / 0.8705 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2555, allocations: 0 / 0.8705 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.222e-05/0.2555, allocations: 0 / 0.8705 GB, free: 2.129 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.004146/0.2597, allocations: 2.116 MB / 0.8726 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2597, allocations: 17.88 kB / 0.8726 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.2711, allocations: 2.094 MB / 0.8746 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/0.2745, allocations: 1.212 MB / 0.8758 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.5e-05/0.2746, allocations: 90.73 kB / 0.8759 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.2749, allocations: 128.1 kB / 0.876 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006394/0.2813, allocations: 3.077 MB / 0.879 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/0.2814, allocations: 11.92 kB / 0.8791 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.2815, allocations: 59.98 kB / 0.8791 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006635/0.2822, allocations: 182.1 kB / 0.8793 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007839/0.29, allocations: 2.787 MB / 0.882 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.3049, allocations: 8.137 MB / 0.89 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007063/0.312, allocations: 2.217 MB / 0.8921 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00333/0.3153, allocations: 1.212 MB / 0.8933 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.016e-05/0.3154, allocations: 13 kB / 0.8933 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.3154, allocations: 43.56 kB / 0.8934 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 3.016e-06/0.3155, allocations: 0 / 0.8934 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.04758/0.363, allocations: 12.64 MB / 0.9057 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.3631, allocations: 68.72 kB / 0.9058 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.3645, allocations: 0.9795 MB / 0.9067 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.3647, allocations: 53.7 kB / 0.9068 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000597/0.3653, allocations: 0.7315 MB / 0.9075 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000494/0.3658, allocations: 479.9 kB / 0.908 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004957/0.3663, allocations: 259.5 kB / 0.9082 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3664, allocations: 361.8 kB / 0.9085 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003424/0.3699, allocations: 1.343 MB / 0.9099 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003608/0.3735, allocations: 1.604 MB / 0.9114 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007149/0.3806, allocations: 2.994 MB / 0.9143 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.3806, allocations: 4 kB / 0.9143 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01215/0.3928, allocations: 4.381 MB / 0.9186 GB, free: 15.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.3928, allocations: 11.94 kB / 0.9186 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.3928, allocations: 4 kB / 0.9186 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00566/0.3985, allocations: 1.431 MB / 0.92 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/0.4007, allocations: 439.3 kB / 0.9205 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02967/0.4304, allocations: 24.82 MB / 0.9447 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.433, allocations: 303.6 kB / 0.945 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.4331, allocations: 60.06 kB / 0.945 GB, free: 3.559 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 (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.0008705/0.434, allocations: 443.8 kB / 0.9455 GB, free: 3.117 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/0.4343, allocations: 159.2 kB / 0.9456 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.4464, allocations: 4.397 MB / 0.9499 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.4464, allocations: 15.94 kB / 0.9499 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-05/0.4465, allocations: 12 kB / 0.9499 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.4465, allocations: 3.984 kB / 0.9499 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01622/0.4627, allocations: 6.128 MB / 0.9559 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.4627, allocations: 4.344 kB / 0.9559 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/0.4647, allocations: 383.5 kB / 0.9563 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005038/0.4697, allocations: 1.314 MB / 0.9576 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/0.4699, allocations: 35.97 kB / 0.9576 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02862/0.4985, allocations: 23.68 MB / 0.9807 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4985, allocations: 4.031 kB / 0.9807 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/0.5103, allocations: 4.151 MB / 0.9848 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/0.5116, allocations: 370.8 kB / 0.9852 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004937/0.5121, allocations: 24 kB / 0.9852 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/0.5144, allocations: 315.4 kB / 0.9855 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004577/0.5149, allocations: 124.7 kB / 0.9856 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/0.515, allocations: 55.95 kB / 0.9856 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001091/0.5161, allocations: 0.6467 MB / 0.9863 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5161, allocations: 0 / 0.9863 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002282/0.5184, allocations: 0.5664 MB / 0.9868 GB, free: 7.102 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.0003422/0.5187, allocations: 141.4 kB / 0.987 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01161/0.5303, allocations: 4.97 MB / 0.9918 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.5304, allocations: 4 kB / 0.9918 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.3887/0.9191, allocations: 3.408 MB / 0.9952 GB, free: 146.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004381/0.9235, allocations: 0.4954 MB / 0.9956 GB, free: 146.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.9372, allocations: 4.173 MB / 0.9997 GB, free: 145.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.9386, allocations: 0.8832 MB / 1.001 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006766/0.9393, allocations: 128 kB / 1.001 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.012e-06/0.9393, allocations: 3.719 kB / 1.001 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.08465/1.024, allocations: 112.5 MB / 1.111 GB, free: 50.88 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.983457120135427] Failed to read output from testmodel.py, exit status != 0: 1.0316208149306476 1.045326367 0.786633696 Calling exit ...