Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001844/0.001844, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00244/0.00244, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.506/1.506, 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.002608/0.002608, allocations: 284.6 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.229/1.229, allocations: 180.6 MB / 0.5369 GB, free: 14.62 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.002965/0.002965, allocations: 108.9 kB / 0.74 GB, free: 27.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1548, allocations: 95.38 MB / 0.8331 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0138/0.1686, allocations: 10.33 MB / 0.8432 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.1824, allocations: 8.497 MB / 0.8515 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008463/0.1832, allocations: 83.31 kB / 0.8516 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004452/0.1877, allocations: 1.662 MB / 0.8532 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003977/0.1917, allocations: 1.578 MB / 0.8548 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.1933, allocations: 0.6729 MB / 0.8554 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002748/0.1961, allocations: 2.294 MB / 0.8577 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.1976, allocations: 1.129 MB / 0.8588 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.1991, allocations: 1.039 MB / 0.8598 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.2007, allocations: 0.9998 MB / 0.8608 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.2009, allocations: 140 kB / 0.8609 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.2022, allocations: 0.7408 MB / 0.8616 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005835/0.2028, allocations: 0.5841 MB / 0.8622 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007733/0.2036, allocations: 0.7231 MB / 0.8629 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.2065, allocations: 2.599 MB / 0.8654 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2065, allocations: 4 kB / 0.8654 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2065, allocations: 3.938 kB / 0.8654 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.195e-05/0.2065, allocations: 0 / 0.8654 GB, free: 6.605 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003283/0.2098, allocations: 1.995 MB / 0.8674 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2098, allocations: 9.344 kB / 0.8674 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.2214, allocations: 2.055 MB / 0.8694 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.2238, allocations: 1.137 MB / 0.8705 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.876e-05/0.2239, allocations: 90.69 kB / 0.8706 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/0.2242, allocations: 128 kB / 0.8707 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005902/0.2301, allocations: 2.877 MB / 0.8735 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.2301, allocations: 7.938 kB / 0.8735 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.2303, allocations: 51.98 kB / 0.8736 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003661/0.2306, allocations: 130.1 kB / 0.8737 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007652/0.2383, allocations: 2.537 MB / 0.8762 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.2511, allocations: 7.426 MB / 0.8834 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006469/0.2575, allocations: 1.85 MB / 0.8852 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002869/0.2604, allocations: 0.9425 MB / 0.8862 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.2604, allocations: 4.438 kB / 0.8862 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.2605, allocations: 43 kB / 0.8862 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.374e-06/0.2605, allocations: 0 / 0.8862 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81): time 0.03258/0.2931, allocations: 8.622 MB / 0.8946 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.2931, allocations: 64.05 kB / 0.8947 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.2944, allocations: 0.9671 MB / 0.8956 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.2946, allocations: 37.7 kB / 0.8957 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000658/0.2952, allocations: 0.758 MB / 0.8964 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.2955, allocations: 301.5 kB / 0.8967 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003959/0.2959, allocations: 198.5 kB / 0.8969 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2961, allocations: 345.9 kB / 0.8972 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003155/0.2992, allocations: 1.075 MB / 0.8983 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003508/0.3027, allocations: 1.305 MB / 0.8995 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006575/0.3093, allocations: 2.386 MB / 0.9019 GB, free: 472 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3093, allocations: 0 / 0.9019 GB, free: 472 kB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009435/0.3188, allocations: 3.242 MB / 0.905 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3188, allocations: 8 kB / 0.905 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3188, allocations: 8.844 kB / 0.9051 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/0.3216, allocations: 0.7871 MB / 0.9058 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.3236, allocations: 415.3 kB / 0.9062 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/0.3408, allocations: 14.81 MB / 0.9207 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.343, allocations: 291.6 kB / 0.921 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.3431, allocations: 55.95 kB / 0.921 GB, free: 11.98 MB / 0.67 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0007328/0.3439, allocations: 393.4 kB / 0.9214 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.3441, allocations: 139.3 kB / 0.9215 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009068/0.3532, allocations: 3.173 MB / 0.9246 GB, free: 8.242 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3532, allocations: 11.94 kB / 0.9246 GB, free: 8.23 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3532, allocations: 8 kB / 0.9246 GB, free: 8.223 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.3532, allocations: 3.984 kB / 0.9246 GB, free: 8.219 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.3646, allocations: 4.476 MB / 0.929 GB, free: 3.637 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3646, allocations: 4.062 kB / 0.929 GB, free: 3.633 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.3663, allocations: 359.3 kB / 0.9294 GB, free: 3.281 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/0.3687, allocations: 0.6861 MB / 0.93 GB, free: 2.57 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-05/0.3688, allocations: 31.95 kB / 0.9301 GB, free: 2.539 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/0.3854, allocations: 14.43 MB / 0.9442 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.3854, allocations: 4 kB / 0.9442 GB, free: 3.281 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008428/0.3938, allocations: 3.004 MB / 0.9471 GB, free: 204 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008703/0.3947, allocations: 307 kB / 0.9474 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.3949, allocations: 19.98 kB / 0.9474 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/0.3967, allocations: 287.7 kB / 0.9477 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.3969, allocations: 88.42 kB / 0.9478 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-05/0.397, allocations: 39.91 kB / 0.9478 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009019/0.3979, allocations: 0.6384 MB / 0.9484 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.3979, allocations: 0 / 0.9484 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001354/0.3993, allocations: 428 kB / 0.9488 GB, free: 14.41 MB / 0.7012 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002402/0.3995, allocations: 131.1 kB / 0.949 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008718/0.4083, allocations: 3.515 MB / 0.9524 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.4083, allocations: 4 kB / 0.9524 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00514/0.4134, allocations: 2.32 MB / 0.9547 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.4153, allocations: 490.5 kB / 0.9551 GB, free: 7.766 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007393/0.4226, allocations: 3.492 MB / 0.9585 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009333/0.4236, allocations: 0.8015 MB / 0.9593 GB, free: 3.375 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001163/0.4247, allocations: 354.6 kB / 0.9597 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.4251, allocations: 99.36 kB / 0.9598 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of SimCode: time 5.91e-07/0.4251, allocations: 4 kB / 0.9598 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of Templates: time 0.05155/0.4766, allocations: 32.92 MB / 0.9919 GB, free: 2.594 MB / 0.7325 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.380404680967331] Failed to read output from testmodel.py, exit status != 0: 0.48404680006206036 0.768096455 0.559176486 Calling exit ...