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.001577/0.001577, allocations: 102.1 kB / 19.7 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.001903/0.001903, allocations: 223.6 kB / 23.01 MB, free: 4.609 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.002589/0.002589, allocations: 285.1 kB / 313.5 MB, free: 2.801 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.195/1.195, allocations: 180.6 MB / 0.5377 GB, free: 13 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.002943/0.002943, allocations: 111.6 kB / 0.7408 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1683, allocations: 95.38 MB / 0.834 GB, free: 8.145 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04237/0.2106, allocations: 34.28 MB / 0.8675 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01873/0.2294, allocations: 10.68 MB / 0.8779 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.2321, allocations: 194.6 kB / 0.8781 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0102/0.2423, allocations: 3.894 MB / 0.8819 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005472/0.2478, allocations: 1.956 MB / 0.8838 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005703/0.2535, allocations: 2.198 MB / 0.8859 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009954/0.2634, allocations: 7.326 MB / 0.8931 GB, free: 11.44 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009639/0.2731, allocations: 5.161 MB / 0.8981 GB, free: 6.156 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005645/0.2787, allocations: 3.264 MB / 0.9013 GB, free: 2.883 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00647/0.2852, allocations: 3.68 MB / 0.9049 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001828/0.287, allocations: 0.6445 MB / 0.9055 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004536/0.2915, allocations: 1.806 MB / 0.9073 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004067/0.2956, allocations: 2.611 MB / 0.9098 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007188/0.3028, allocations: 2.894 MB / 0.9127 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.3163, allocations: 10.15 MB / 0.9226 GB, free: 13.04 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3163, allocations: 0 / 0.9226 GB, free: 13.04 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3163, allocations: 0 / 0.9226 GB, free: 13.04 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002804/0.3165, allocations: 0 / 0.9226 GB, free: 13.04 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.01255/0.3291, allocations: 5.044 MB / 0.9275 GB, free: 7.93 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3291, allocations: 12.75 kB / 0.9275 GB, free: 7.918 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005787/0.3349, allocations: 0.9774 MB / 0.9285 GB, free: 6.938 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008324/0.3432, allocations: 3.003 MB / 0.9314 GB, free: 3.863 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/0.3436, allocations: 345.7 kB / 0.9317 GB, free: 3.523 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/0.345, allocations: 472.3 kB / 0.9322 GB, free: 3.062 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01613/0.3612, allocations: 7.667 MB / 0.9397 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001941/0.3614, allocations: 31.77 kB / 0.9397 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009316/0.3623, allocations: 204 kB / 0.9399 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003986/0.3627, allocations: 309 kB / 0.9402 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.3744, allocations: 5.71 MB / 0.9458 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04756/0.422, allocations: 34.57 MB / 0.9795 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002863/0.4248, allocations: 1.547 MB / 0.981 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.4266, allocations: 1.121 MB / 0.9821 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.4267, allocations: 17.31 kB / 0.9821 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.4268, allocations: 51.86 kB / 0.9822 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.036e-06/0.4268, allocations: 0 / 0.9822 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01453/0.4413, allocations: 6.211 MB / 0.9883 GB, free: 6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.4413, allocations: 68.72 kB / 0.9883 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/0.4439, allocations: 1.488 MB / 0.9898 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.444, allocations: 45.7 kB / 0.9898 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.4457, allocations: 2.073 MB / 0.9918 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005527/0.4462, allocations: 0.4996 MB / 0.9923 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006096/0.4468, allocations: 351.4 kB / 0.9927 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.447, allocations: 305.1 kB / 0.993 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.4484, allocations: 0.9174 MB / 0.9939 GB, free: 176 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3556/0.804, allocations: 1.583 MB / 0.9954 GB, free: 145.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/0.8073, allocations: 2.743 MB / 0.9981 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.8073, allocations: 6.156 kB / 0.9981 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005443/0.8127, allocations: 3.511 MB / 1.002 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.8128, allocations: 13.34 kB / 1.002 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.8128, allocations: 28.16 kB / 1.002 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/0.8151, allocations: 0.8998 MB / 1.002 GB, free: 143.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.8162, allocations: 349.6 kB / 1.003 GB, free: 143 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/0.8338, allocations: 21.89 MB / 1.024 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.8354, allocations: 108.8 kB / 1.024 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.8355, allocations: 84.92 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.002335/0.8379, allocations: 1.609 MB / 1.026 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.8382, allocations: 216.2 kB / 1.026 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004528/0.8427, allocations: 2.967 MB / 1.029 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.8427, allocations: 11.72 kB / 1.029 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.8428, allocations: 11.78 kB / 1.029 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.8428, allocations: 11.58 kB / 1.029 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009597/0.8524, allocations: 7.286 MB / 1.036 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.8524, allocations: 3.969 kB / 1.036 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006887/0.8531, allocations: 177.5 kB / 1.036 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002018/0.8551, allocations: 0.8309 MB / 1.037 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.977e-05/0.8552, allocations: 23.91 kB / 1.037 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/0.8687, allocations: 20.73 MB / 1.057 GB, free: 100.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.8687, allocations: 7.625 kB / 1.057 GB, free: 100.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004158/0.8729, allocations: 3.018 MB / 1.06 GB, free: 98.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008921/0.8738, allocations: 397.1 kB / 1.061 GB, free: 98.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.874, allocations: 28 kB / 1.061 GB, free: 98.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000737/0.8747, allocations: 75.91 kB / 1.061 GB, free: 98.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/0.875, allocations: 128.6 kB / 1.061 GB, free: 97.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/0.8751, allocations: 37.31 kB / 1.061 GB, free: 97.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009824/0.8761, allocations: 0.9756 MB / 1.062 GB, free: 96.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8761, allocations: 0 / 1.062 GB, free: 96.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002449/0.8785, allocations: 0.7872 MB / 1.063 GB, free: 96.08 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.0001916/0.8787, allocations: 146.8 kB / 1.063 GB, free: 95.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004451/0.8832, allocations: 3.926 MB / 1.067 GB, free: 91.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.8832, allocations: 0 / 1.067 GB, free: 91.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002663/0.8858, allocations: 2.662 MB / 1.069 GB, free: 89.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/0.8884, allocations: 0.7468 MB / 1.07 GB, free: 88.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.8986, allocations: 7.977 MB / 1.078 GB, free: 80.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/0.9011, allocations: 3.183 MB / 1.081 GB, free: 77.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.9015, allocations: 123.4 kB / 1.081 GB, free: 76.95 MB / 0.7325 GB Notification: Performance of SimCode: time 1.202e-06/0.9015, allocations: 0 / 1.081 GB, free: 76.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.6715/1.573, allocations: 321.9 MB / 1.395 GB, free: 294.5 MB / 0.92 GB " [Timeout remaining time 658] 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: 19.78700895095244] Failed to read output from testmodel.py, exit status != 0: 1.5807980250101537 1.590231757 1.271606058 Calling exit ...