Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001404/0.001404, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00161/0.00161, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.777 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.002759/0.002759, allocations: 294.5 kB / 312.7 MB, free: 2.574 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.241/1.241, allocations: 180.6 MB / 0.5369 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 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [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.003001/0.003001, allocations: 106.6 kB / 0.74 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1556, allocations: 95.38 MB / 0.8331 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00932/0.1649, allocations: 6.547 MB / 0.8395 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005324/0.1702, allocations: 3.064 MB / 0.8425 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.1705, allocations: 39.62 kB / 0.8426 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002609/0.1731, allocations: 0.9605 MB / 0.8435 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.1742, allocations: 0.5129 MB / 0.844 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.1752, allocations: 459 kB / 0.8444 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.1765, allocations: 1.229 MB / 0.8456 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.1773, allocations: 0.5295 MB / 0.8462 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006236/0.1779, allocations: 498.2 kB / 0.8466 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/0.1786, allocations: 0.5136 MB / 0.8471 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.1787, allocations: 68 kB / 0.8472 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005872/0.1793, allocations: 343.3 kB / 0.8475 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003204/0.1796, allocations: 323.1 kB / 0.8478 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.18, allocations: 374.2 kB / 0.8482 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.1814, allocations: 1.233 MB / 0.8494 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1814, allocations: 4 kB / 0.8494 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1814, allocations: 0 / 0.8494 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.1814, allocations: 0 / 0.8494 GB, free: 7.105 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001957/0.1834, allocations: 1.112 MB / 0.8505 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1834, allocations: 12.75 kB / 0.8505 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.185, allocations: 240.1 kB / 0.8507 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.1861, allocations: 0.5475 MB / 0.8513 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.1861, allocations: 57.67 kB / 0.8513 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.1863, allocations: 60.36 kB / 0.8514 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.188, allocations: 1.332 MB / 0.8527 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.1881, allocations: 19.86 kB / 0.8527 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.218e-05/0.1881, allocations: 27.98 kB / 0.8527 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/0.1883, allocations: 81.27 kB / 0.8528 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.1895, allocations: 0.7504 MB / 0.8535 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005368/0.1949, allocations: 4.523 MB / 0.8579 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.196, allocations: 0.5099 MB / 0.8584 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.1964, allocations: 294 kB / 0.8587 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.1965, allocations: 8.438 kB / 0.8587 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.1965, allocations: 39 kB / 0.8588 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.324e-06/0.1965, allocations: 4 kB / 0.8588 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003965/0.2005, allocations: 1.671 MB / 0.8604 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.2005, allocations: 63.78 kB / 0.8605 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.2012, allocations: 0.5106 MB / 0.861 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.2012, allocations: 37.7 kB / 0.861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.2015, allocations: 431.8 kB / 0.8614 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.2017, allocations: 182.4 kB / 0.8616 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.2019, allocations: 130.6 kB / 0.8617 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.2021, allocations: 378.7 kB / 0.8621 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.2026, allocations: 265.9 kB / 0.8623 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006497/0.2032, allocations: 0.4891 MB / 0.8628 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.2043, allocations: 0.8045 MB / 0.8636 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2044, allocations: 8 kB / 0.8636 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001962/0.2063, allocations: 1.066 MB / 0.8646 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.2063, allocations: 11.94 kB / 0.8646 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.2064, allocations: 11.94 kB / 0.8647 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009024/0.2073, allocations: 271.8 kB / 0.8649 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.2078, allocations: 127.8 kB / 0.865 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007327/0.2151, allocations: 6.595 MB / 0.8715 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/0.2157, allocations: 40.09 kB / 0.8715 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/0.2157, allocations: 32 kB / 0.8715 GB, free: 15.3 MB / 0.6231 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0003806/0.2161, allocations: 250.2 kB / 0.8718 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.2162, allocations: 71.58 kB / 0.8719 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.2179, allocations: 0.8725 MB / 0.8727 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2179, allocations: 4 kB / 0.8727 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.2179, allocations: 4 kB / 0.8727 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2179, allocations: 3.984 kB / 0.8727 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.2208, allocations: 1.54 MB / 0.8742 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2208, allocations: 8.125 kB / 0.8742 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.221, allocations: 59.89 kB / 0.8743 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008065/0.2219, allocations: 275.3 kB / 0.8746 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.2219, allocations: 8 kB / 0.8746 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007643/0.2295, allocations: 6.587 MB / 0.881 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.2295, allocations: 4.031 kB / 0.881 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.2312, allocations: 0.9682 MB / 0.8819 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.2315, allocations: 115.6 kB / 0.8821 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.186e-05/0.2316, allocations: 11.94 kB / 0.8821 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.232, allocations: 31.91 kB / 0.8821 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.2321, allocations: 47.91 kB / 0.8821 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.2321, allocations: 12 kB / 0.8821 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000414/0.2325, allocations: 346.8 kB / 0.8825 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2325, allocations: 0 / 0.8825 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008154/0.2333, allocations: 220 kB / 0.8827 GB, free: 3.328 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001741/0.2335, allocations: 117.6 kB / 0.8828 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.2357, allocations: 1.228 MB / 0.884 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.2357, allocations: 4 kB / 0.884 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.2371, allocations: 0.8619 MB / 0.8848 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.2381, allocations: 203.9 kB / 0.885 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.2407, allocations: 1.376 MB / 0.8864 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.2412, allocations: 416.8 kB / 0.8868 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003831/0.2416, allocations: 117.5 kB / 0.8869 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.2417, allocations: 39.44 kB / 0.8869 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.2417, allocations: 0 / 0.8869 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of Templates: time 0.02233/0.264, allocations: 12.3 MB / 0.8989 GB, free: 2.75 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.481865391135216] Failed to read output from testmodel.py, exit status != 0: 0.27181890048086643 0.287533961 0.102963021 Calling exit ...