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.00182/0.00182, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00245/0.00245, allocations: 211.9 kB / 22.25 MB, free: 5.082 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 8.023 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.003596/0.003596, allocations: 296.3 kB / 312.7 MB, free: 2.914 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.279/1.279, allocations: 180.6 MB / 0.5369 GB, free: 13.1 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.003058/0.003058, allocations: 106.9 kB / 0.7401 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1732, allocations: 95.38 MB / 0.8332 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0158/0.1889, allocations: 11.32 MB / 0.8443 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.2041, allocations: 9.143 MB / 0.8532 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.2054, allocations: 79.31 kB / 0.8533 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004898/0.2103, allocations: 1.738 MB / 0.855 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004426/0.2147, allocations: 1.58 MB / 0.8565 GB, free: 260 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.2165, allocations: 0.6821 MB / 0.8572 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.2194, allocations: 2.289 MB / 0.8594 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.221, allocations: 1.16 MB / 0.8605 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.2226, allocations: 1.02 MB / 0.8615 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.2242, allocations: 1.07 MB / 0.8626 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002047/0.2244, allocations: 140 kB / 0.8627 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.2259, allocations: 0.8266 MB / 0.8635 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005765/0.2265, allocations: 0.5802 MB / 0.8641 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000909/0.2274, allocations: 0.8862 MB / 0.865 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00305/0.2305, allocations: 2.584 MB / 0.8675 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2305, allocations: 4 kB / 0.8675 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2305, allocations: 0 / 0.8675 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.346e-05/0.2305, allocations: 0 / 0.8675 GB, free: 4.941 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.00349/0.234, allocations: 1.988 MB / 0.8694 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.234, allocations: 9.344 kB / 0.8694 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.2451, allocations: 2.067 MB / 0.8715 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/0.2479, allocations: 1.13 MB / 0.8726 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.973e-05/0.248, allocations: 90.62 kB / 0.8726 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003556/0.2483, allocations: 128 kB / 0.8728 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006218/0.2545, allocations: 2.471 MB / 0.8752 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-05/0.2546, allocations: 7.938 kB / 0.8752 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.2548, allocations: 55.92 kB / 0.8752 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003828/0.2552, allocations: 134.1 kB / 0.8754 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007652/0.2629, allocations: 2.537 MB / 0.8778 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.2779, allocations: 9.922 MB / 0.8875 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006144/0.2841, allocations: 1.854 MB / 0.8893 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002776/0.2868, allocations: 0.9425 MB / 0.8903 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.437e-05/0.2869, allocations: 12.36 kB / 0.8903 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.2869, allocations: 43 kB / 0.8903 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.084e-06/0.2869, allocations: 0 / 0.8903 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of matching and sorting (n=81): time 0.03167/0.3186, allocations: 8.638 MB / 0.8988 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.3187, allocations: 60.06 kB / 0.8988 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.3203, allocations: 1.097 MB / 0.8999 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.3205, allocations: 41.7 kB / 0.8999 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006704/0.3211, allocations: 0.7512 MB / 0.9007 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.3215, allocations: 297.4 kB / 0.9009 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004299/0.3219, allocations: 202.5 kB / 0.9011 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.3221, allocations: 345.9 kB / 0.9015 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/0.3251, allocations: 1.075 MB / 0.9025 GB, free: 56 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003231/0.3283, allocations: 1.305 MB / 0.9038 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006178/0.3345, allocations: 2.374 MB / 0.9061 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3345, allocations: 8 kB / 0.9061 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009172/0.3437, allocations: 3.246 MB / 0.9093 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.3437, allocations: 15.98 kB / 0.9093 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.3437, allocations: 8.094 kB / 0.9093 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/0.3467, allocations: 0.791 MB / 0.9101 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/0.3486, allocations: 411.3 kB / 0.9105 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01836/0.3669, allocations: 15.11 MB / 0.9252 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.3693, allocations: 291.5 kB / 0.9255 GB, free: 7.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/0.3695, allocations: 51.97 kB / 0.9256 GB, free: 7.289 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.0008891/0.3704, allocations: 397.5 kB / 0.9259 GB, free: 6.891 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/0.3708, allocations: 155 kB / 0.9261 GB, free: 6.738 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009062/0.3798, allocations: 3.179 MB / 0.9292 GB, free: 3.523 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3799, allocations: 11.94 kB / 0.9292 GB, free: 3.512 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/0.3799, allocations: 12 kB / 0.9292 GB, free: 3.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3799, allocations: 3.984 kB / 0.9292 GB, free: 3.496 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.3917, allocations: 4.854 MB / 0.934 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.3917, allocations: 3.938 kB / 0.934 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.3933, allocations: 359.3 kB / 0.9343 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002427/0.3958, allocations: 0.6898 MB / 0.935 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.654e-05/0.3959, allocations: 31.97 kB / 0.935 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01718/0.413, allocations: 14.73 MB / 0.9494 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.413, allocations: 4 kB / 0.9494 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008448/0.4215, allocations: 3.021 MB / 0.9523 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009054/0.4224, allocations: 311 kB / 0.9526 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/0.4227, allocations: 16 kB / 0.9527 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/0.4246, allocations: 291.4 kB / 0.9529 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.4249, allocations: 92.42 kB / 0.953 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.425, allocations: 39.97 kB / 0.9531 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00112/0.4261, allocations: 0.7404 MB / 0.9538 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4261, allocations: 0 / 0.9538 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001484/0.4276, allocations: 432 kB / 0.9542 GB, free: 8.762 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.000256/0.4278, allocations: 131.1 kB / 0.9543 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008468/0.4363, allocations: 3.519 MB / 0.9578 GB, free: 5 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4363, allocations: 0 / 0.9578 GB, free: 5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005118/0.4414, allocations: 2.324 MB / 0.96 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.444, allocations: 0.5294 MB / 0.9605 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007966/0.452, allocations: 3.505 MB / 0.964 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.4533, allocations: 1.388 MB / 0.9653 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001318/0.4546, allocations: 379.8 kB / 0.9657 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/0.455, allocations: 99.38 kB / 0.9658 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of SimCode: time 6.71e-07/0.455, allocations: 0 / 0.9658 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of Templates: time 0.3736/0.8286, allocations: 31.49 MB / 0.9965 GB, free: 149.6 MB / 0.7325 GB " [Timeout remaining time 659] 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.680758853908628] Failed to read output from testmodel.py, exit status != 0: 0.8359767459332943 0.849080642 0.6156632240000001 Calling exit ...