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.001619/0.001619, allocations: 106.5 kB / 19.69 MB, free: 2.277 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.001913/0.001913, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.002652/0.002652, allocations: 283.5 kB / 313.5 MB, free: 2.816 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.206/1.206, 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.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.002958/0.002958, allocations: 109 kB / 0.7408 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1658, allocations: 95.39 MB / 0.834 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008367/0.1742, allocations: 6.345 MB / 0.8402 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005375/0.1796, allocations: 3.301 MB / 0.8434 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004411/0.18, allocations: 43.62 kB / 0.8434 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002468/0.1825, allocations: 0.9747 MB / 0.8444 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.1836, allocations: 493.6 kB / 0.8449 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1848, allocations: 489 kB / 0.8453 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.1861, allocations: 1.096 MB / 0.8464 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007734/0.1869, allocations: 0.5062 MB / 0.8469 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006317/0.1876, allocations: 454.4 kB / 0.8473 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006697/0.1882, allocations: 0.502 MB / 0.8478 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.609e-05/0.1883, allocations: 60 kB / 0.8479 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008626/0.1892, allocations: 0.4911 MB / 0.8483 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.1895, allocations: 291.1 kB / 0.8486 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003797/0.1898, allocations: 398 kB / 0.849 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.1912, allocations: 1.183 MB / 0.8502 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1912, allocations: 0 / 0.8502 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1912, allocations: 0 / 0.8502 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.1912, allocations: 0 / 0.8502 GB, free: 7.473 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.001605/0.1928, allocations: 1.003 MB / 0.8511 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1929, allocations: 9.344 kB / 0.8511 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.1943, allocations: 224.2 kB / 0.8514 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009557/0.1953, allocations: 0.5283 MB / 0.8519 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.1953, allocations: 41.69 kB / 0.8519 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.1954, allocations: 68.3 kB / 0.852 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.1968, allocations: 1.026 MB / 0.853 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.1969, allocations: 19.81 kB / 0.853 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.197, allocations: 28 kB / 0.853 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.88e-05/0.197, allocations: 65.28 kB / 0.8531 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.1981, allocations: 0.6918 MB / 0.8538 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005372/0.2035, allocations: 5.654 MB / 0.8593 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/0.2043, allocations: 410.1 kB / 0.8597 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008005/0.2051, allocations: 392.5 kB / 0.8601 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.2051, allocations: 8 kB / 0.8601 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.2051, allocations: 38.56 kB / 0.8601 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.064e-06/0.2051, allocations: 0 / 0.8601 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004189/0.2093, allocations: 1.711 MB / 0.8618 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.2094, allocations: 59.41 kB / 0.8618 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.2099, allocations: 450.8 kB / 0.8623 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.2099, allocations: 37.7 kB / 0.8623 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.2102, allocations: 392.1 kB / 0.8627 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.2103, allocations: 162.6 kB / 0.8628 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.2105, allocations: 110.2 kB / 0.8629 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2106, allocations: 366.8 kB / 0.8633 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/0.211, allocations: 241.2 kB / 0.8635 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.2115, allocations: 457 kB / 0.8639 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009603/0.2125, allocations: 0.7441 MB / 0.8647 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2125, allocations: 4 kB / 0.8647 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001866/0.2144, allocations: 1.031 MB / 0.8657 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.2144, allocations: 8 kB / 0.8657 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2144, allocations: 8 kB / 0.8657 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009846/0.2154, allocations: 323.5 kB / 0.866 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.2157, allocations: 99.81 kB / 0.8661 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007385/0.2231, allocations: 7.068 MB / 0.873 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.2235, allocations: 36.02 kB / 0.873 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.2235, allocations: 28 kB / 0.8731 GB, free: 14.65 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 (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.0003412/0.2239, allocations: 242.2 kB / 0.8733 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-05/0.224, allocations: 63.56 kB / 0.8734 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.2257, allocations: 0.8846 MB / 0.8742 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2257, allocations: 4 kB / 0.8742 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2257, allocations: 4 kB / 0.8742 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.2257, allocations: 3.984 kB / 0.8742 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/0.2284, allocations: 1.641 MB / 0.8758 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2284, allocations: 0 / 0.8758 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.2286, allocations: 39.91 kB / 0.8759 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009065/0.2295, allocations: 311.4 kB / 0.8762 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.2295, allocations: 8 kB / 0.8762 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007284/0.2368, allocations: 7.057 MB / 0.8831 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.2368, allocations: 11.94 kB / 0.8831 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.2385, allocations: 0.9731 MB / 0.884 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.2388, allocations: 95.58 kB / 0.8841 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.2388, allocations: 12 kB / 0.8841 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.2391, allocations: 19.97 kB / 0.8841 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.2392, allocations: 47.8 kB / 0.8842 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.2392, allocations: 12 kB / 0.8842 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003451/0.2396, allocations: 306.9 kB / 0.8845 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2396, allocations: 4 kB / 0.8845 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007429/0.2403, allocations: 196 kB / 0.8847 GB, free: 2.117 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.0001595/0.2405, allocations: 107.4 kB / 0.8848 GB, free: 2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001826/0.2423, allocations: 1.16 MB / 0.8859 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2423, allocations: 0 / 0.8859 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.2435, allocations: 0.8386 MB / 0.8867 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.2444, allocations: 209.9 kB / 0.8869 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.2464, allocations: 1.312 MB / 0.8882 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.2471, allocations: 0.9881 MB / 0.8892 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.2472, allocations: 43.41 kB / 0.8892 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of SimCode: time 6.51e-07/0.2472, allocations: 0 / 0.8892 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of Templates: time 0.02217/0.2693, allocations: 18.52 MB / 0.9073 GB, free: 10.8 MB / 0.6544 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: 10.604327701032162] Failed to read output from testmodel.py, exit status != 0: 0.2768991480115801 0.291269278 0.097085457 Calling exit ...