Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001389/0.001389, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001554/0.001554, allocations: 214 kB / 22.25 MB, free: 5.242 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.789 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.002719/0.002719, allocations: 281.3 kB / 312.7 MB, free: 2.605 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.244/1.244, allocations: 180.6 MB / 0.5369 GB, free: 14.43 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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.003056/0.003056, allocations: 103.1 kB / 0.74 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1602, allocations: 95.39 MB / 0.8331 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008512/0.1687, allocations: 5.921 MB / 0.8389 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00566/0.1743, allocations: 3.122 MB / 0.842 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.1747, allocations: 39.62 kB / 0.842 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.1773, allocations: 0.9287 MB / 0.8429 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.1784, allocations: 493.5 kB / 0.8434 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.1795, allocations: 488.3 kB / 0.8438 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.1808, allocations: 1.093 MB / 0.8449 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008265/0.1816, allocations: 0.5099 MB / 0.8454 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006853/0.1823, allocations: 462.3 kB / 0.8459 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006572/0.183, allocations: 470.1 kB / 0.8463 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1831, allocations: 60 kB / 0.8464 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007556/0.1838, allocations: 439 kB / 0.8468 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.1842, allocations: 295.2 kB / 0.8471 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.1845, allocations: 326.4 kB / 0.8474 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.1859, allocations: 1.191 MB / 0.8485 GB, free: 8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1859, allocations: 3.938 kB / 0.8485 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1859, allocations: 0 / 0.8485 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.1859, allocations: 4 kB / 0.8485 GB, free: 7.992 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001661/0.1876, allocations: 0.9986 MB / 0.8495 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1876, allocations: 9.344 kB / 0.8495 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.1891, allocations: 224.2 kB / 0.8497 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.1902, allocations: 0.5243 MB / 0.8503 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/0.1902, allocations: 41.69 kB / 0.8503 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.1903, allocations: 60.36 kB / 0.8503 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.1919, allocations: 1.138 MB / 0.8515 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.1919, allocations: 11.89 kB / 0.8515 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-05/0.192, allocations: 28 kB / 0.8515 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.585e-05/0.1921, allocations: 69.25 kB / 0.8516 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1932, allocations: 0.6918 MB / 0.8522 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004928/0.1982, allocations: 4.39 MB / 0.8565 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007988/0.199, allocations: 414.1 kB / 0.8569 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008494/0.1998, allocations: 396.5 kB / 0.8573 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1998, allocations: 7.938 kB / 0.8573 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1999, allocations: 34.56 kB / 0.8573 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.1999, allocations: 0 / 0.8573 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004298/0.2042, allocations: 1.703 MB / 0.859 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.2042, allocations: 63.34 kB / 0.8591 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/0.2047, allocations: 433.8 kB / 0.8595 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.2048, allocations: 33.7 kB / 0.8595 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.205, allocations: 396 kB / 0.8599 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.2052, allocations: 158.7 kB / 0.86 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.2054, allocations: 114.2 kB / 0.8601 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2056, allocations: 358.8 kB / 0.8605 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.2059, allocations: 245.2 kB / 0.8607 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/0.2065, allocations: 453 kB / 0.8612 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.2075, allocations: 0.748 MB / 0.8619 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2075, allocations: 4 kB / 0.8619 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00197/0.2095, allocations: 1.027 MB / 0.8629 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2095, allocations: 11.98 kB / 0.8629 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.2095, allocations: 8 kB / 0.8629 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.2106, allocations: 319.3 kB / 0.8632 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.2109, allocations: 103.8 kB / 0.8633 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007693/0.2186, allocations: 6.929 MB / 0.8701 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/0.2191, allocations: 32.05 kB / 0.8701 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.2191, allocations: 24 kB / 0.8701 GB, free: 0.7891 MB / 0.6075 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003838/0.2195, allocations: 246.2 kB / 0.8704 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.2196, allocations: 59.62 kB / 0.8704 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.2215, allocations: 0.8882 MB / 0.8713 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2215, allocations: 4 kB / 0.8713 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.2215, allocations: 4 kB / 0.8713 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.2215, allocations: 3.984 kB / 0.8713 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.2243, allocations: 1.497 MB / 0.8728 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.2243, allocations: 192 / 0.8728 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.2245, allocations: 48.16 kB / 0.8728 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009832/0.2255, allocations: 315.2 kB / 0.8731 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.2255, allocations: 12 kB / 0.8731 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007799/0.2333, allocations: 6.915 MB / 0.8799 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/0.2333, allocations: 11.88 kB / 0.8799 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.2354, allocations: 0.9692 MB / 0.8808 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.2357, allocations: 91.62 kB / 0.8809 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.2358, allocations: 12 kB / 0.8809 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.236, allocations: 23.91 kB / 0.881 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.2362, allocations: 43.92 kB / 0.881 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.2362, allocations: 12 kB / 0.881 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003281/0.2365, allocations: 278.9 kB / 0.8813 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.2365, allocations: 0 / 0.8813 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007795/0.2373, allocations: 196 kB / 0.8815 GB, free: 4.625 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001463/0.2374, allocations: 111.2 kB / 0.8816 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001967/0.2394, allocations: 1.16 MB / 0.8827 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2394, allocations: 0 / 0.8827 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.2407, allocations: 0.8347 MB / 0.8835 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.2417, allocations: 203.7 kB / 0.8837 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.2438, allocations: 1.244 MB / 0.8849 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.2443, allocations: 398.7 kB / 0.8853 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002718/0.2446, allocations: 93 kB / 0.8854 GB, free: 440 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.998e-05/0.2446, allocations: 35.44 kB / 0.8854 GB, free: 404 kB / 0.6231 GB Notification: Performance of SimCode: time 9.12e-07/0.2446, allocations: 0 / 0.8854 GB, free: 404 kB / 0.6231 GB Notification: Performance of Templates: time 0.02007/0.2647, allocations: 11.1 MB / 0.8963 GB, free: 5.512 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.454660143703222] Failed to read output from testmodel.py, exit status != 0: 0.2721303850412369 0.28755461000000004 0.098449566 Calling exit ...